Represents an error response from the API when the status code is not 200.
Constructs an error from the given response and reason.
The original response
The error message from the API.
Optional
The original response object.
Get the status code of this error.
Get the status message of this error.
Represents an error response from the API when the status code is not 200.