rePostPrivate / Client / exceptions / ThrottlingException
ThrottlingException#
- class rePostPrivate.Client.exceptions.ThrottlingException#
Request was denied due to request throttling.
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', 'quotaCode': 'string', 'retryAfterSeconds': 123, 'serviceCode': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
Request was denied due to request throttling.
message (string) –
quotaCode (string) –
The code to identify the quota.
retryAfterSeconds (integer) –
Advice to clients on when the call can be safely retried.
serviceCode (string) –
The code to identify the service.
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.