AgreementService / Client / exceptions / ConflictException
ConflictException¶
- class AgreementService.Client.exceptions.ConflictException¶
Request was denied due to a resource conflict.
Example
try: ... except client.exceptions.ConflictException 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
{ 'requestId': 'string', 'message': 'string', 'resourceId': 'string', 'resourceType': 'Agreement'|'AgreementRequest'|'AgreementProposal'|'Charge'|'PaymentRequest'|'Invoice'|'AgreementCancellationRequest'|'BillingAdjustmentRequest', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
Request was denied due to a resource conflict.
requestId (string) –
The unique identifier for the error.
message (string) –
Description of the error.
resourceId (string) –
The unique identifier of the resource involved in the conflict.
resourceType (string) –
The type of the resource involved in the conflict.
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.