DevOpsAgentService / Client / exceptions / ConflictException
ConflictException¶
- class DevOpsAgentService.Client.exceptions.ConflictException¶
The request conflicts with the current state of the resource.
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
{ 'message': 'string', 'reason': 'CHAT_ARCHIVED', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The request conflicts with the current state of the resource.
message (string) –
Detailed error message describing the conflict.
reason (string) –
A machine-readable reason code that explains why the request conflicted with the current state of the resource. For example,
CHAT_ARCHIVEDindicates that the request acted on a chat that is archived. This field is absent when no specific reason applies.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.