DeadlineCloud / Client / exceptions / ThrottlingException

ThrottlingException#

class DeadlineCloud.Client.exceptions.ThrottlingException#

Your request exceeded a request rate quota.

Example

try:
  ...
except client.exceptions.ThrottlingException as e:
  print(e.response)
response#

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'message': 'string',
    'serviceCode': 'string',
    'quotaCode': 'string',
    'retryAfterSeconds': 123,
    'context': {
        'string': 'string'
    },
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    Your request exceeded a request rate quota.

    • message (string) –

    • serviceCode (string) –

      Identifies the service that is being throttled.

    • quotaCode (string) –

      Identifies the quota that is being throttled.

    • retryAfterSeconds (integer) –

      The number of seconds a client should wait before retrying the request.

    • context (dict) –

      Information about the resources in use when the exception was thrown.

      • (string) –

        • (string) –

    • Error (dict) – Normalized access to common exception attributes.

      • Code (string) – An identifier specifying the exception type.

      • Message (string) – A descriptive message explaining why the exception occured.