Error Class

Defines the error that occurred.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
Error

Constructor

Error(**kwargs)

Parameters

code
str or ErrorCode
Required

Required. The error code that identifies the category of error. Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization'. Default value: "None" .

message
str
Required

Required. A description of the error.

Variables

sub_code
str or ErrorSubCode

The error code that further helps to identify the error. Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired'

more_details
str

A description that provides additional information about the error.

parameter
str

The parameter in the request that caused the error.

value
str

The parameter's value in the request that was not valid.