DeadlineCloud / Client / exceptions / ConflictException
ConflictException#
- class DeadlineCloud.Client.exceptions.ConflictException#
Your request has conflicting operations. This can occur if you’re trying to perform more than one operation on the same resource at the same time.
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', 'reason': 'CONFLICT_EXCEPTION'|'CONCURRENT_MODIFICATION'|'RESOURCE_ALREADY_EXISTS'|'RESOURCE_IN_USE'|'STATUS_CONFLICT', 'resourceId': 'string', 'resourceType': 'string', 'context': { 'string': 'string' }, 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
Your request has conflicting operations. This can occur if you’re trying to perform more than one operation on the same resource at the same time.
message (string) –
reason (string) –
A description of the error.
resourceId (string) –
The identifier of the resource in use.
resourceType (string) –
The type of the resource in use.
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.