ErrorResponse Class

Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

Some Error responses:

  • 429 TooManyRequests - Request is throttled. Retry after waiting for the time specified in the "x-ms-ratelimit-microsoft.consumption-retry-after" header.

  • 503 ServiceUnavailable - Service is temporarily unavailable. Retry after waiting for the time specified in the "Retry-After" header.

    param error: The details of the error.

    type error: ~azure.mgmt.costmanagement.models.ErrorDetails

Inheritance
ErrorResponse

Constructor

ErrorResponse(*, error: Optional[azure.mgmt.costmanagement.models._models_py3.ErrorDetails] = None, **kwargs)