PartnerCentralBenefits / Client / exceptions / ServiceQuotaExceededException
ServiceQuotaExceededException¶
- class PartnerCentralBenefits.Client.exceptions.ServiceQuotaExceededException¶
Thrown when the request would exceed the service quotas or limits for the account.
Example
try: ... except client.exceptions.ServiceQuotaExceededException as e: print(e.response)
- response¶
The parsed error response. All exceptions have a top level
Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'Message': 'string', 'ResourceId': 'string', 'ResourceType': 'string', 'QuotaCode': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
Thrown when the request would exceed the service quotas or limits for the account.
Message (string) –
A message describing the service quota exceeded error.
ResourceId (string) –
The identifier of the resource that would exceed the quota.
ResourceType (string) –
The type of the resource that would exceed the quota.
QuotaCode (string) –
The code identifying the specific quota that would be exceeded.
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.