MQ / Client / exceptions / InternalServerErrorException
InternalServerErrorException¶
- class MQ.Client.exceptions.InternalServerErrorException¶
Returns information about an error.
Example
try: ... except client.exceptions.InternalServerErrorException 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
{ 'ErrorAttribute': 'string', 'Message': 'string', 'ResourceShareErrors': [ { 'ErrorCode': 'string', 'ResourceShareArn': 'string', 'Status': 'string' }, ], 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
Returns information about an error.
ErrorAttribute (string) –
The attribute which caused the error.
Message (string) –
The explanation of the error.
ResourceShareErrors (list) –
The list of resource share errors.
(dict) –
Returns info about the resource share error after updating the broker.
ErrorCode (string) –
The error code of the resource share.
ResourceShareArn (string) –
The ARN of the resource share.
Status (string) –
The status of the resource share.
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.