BillingConductor / Client / exceptions / ConflictException
ConflictException#
- class BillingConductor.Client.exceptions.ConflictException#
You can cause an inconsistent state by updating or deleting a resource.
Example
try: ... except client.exceptions.ConflictException 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', 'ResourceId': 'string', 'ResourceType': 'string', 'Reason': 'RESOURCE_NAME_CONFLICT'|'PRICING_RULE_IN_PRICING_PLAN_CONFLICT'|'PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT'|'PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT'|'WRITE_CONFLICT_RETRY', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
You can cause an inconsistent state by updating or deleting a resource.
Message (string) –
ResourceId (string) –
Identifier of the resource in use.
ResourceType (string) –
Type of the resource in use.
Reason (string) –
Reason for the inconsistent state.
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.