HttpResponseError Class

A request was made, and a non-success status code was received from the service.

Inheritance
HttpResponseError

Constructor

HttpResponseError(message=None, response=None, **kwargs)

Parameters

message
string
default value: None

HttpResponse's error message

response
HttpResponse or AsyncHttpResponse
default value: None

The response that triggered the exception.

Variables

reason
str

The HTTP response reason

status_code
int

HttpResponse's status code

response
HttpResponse or AsyncHttpResponse

The response that triggered the exception.

model
Model

The request body/response body model

error
ODataV4Format

The formatted error