S3Files / Client / exceptions / ConflictException
ConflictException¶
- class S3Files.Client.exceptions.ConflictException¶
The request conflicts with the current state of the resource. This can occur when trying to create a resource that already exists or delete a resource that is in use.
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
{ 'errorCode': 'string', 'message': 'string', 'resourceId': 'string', 'resourceType': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The request conflicts with the current state of the resource. This can occur when trying to create a resource that already exists or delete a resource that is in use.
errorCode (string) –
The error code associated with the exception.
message (string) –
resourceId (string) –
The identifier of the resource that caused the conflict.
resourceType (string) –
The type of the resource that caused 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.