exception bluecat_libraries.http_client.UnexpectedResponse
(message, response, *args, **kwargs)
Bases: bluecat_libraries.http_client.exceptions.ErrorResponse
This is a specific case of an exception about a response. It is used in the cases where the response itself was not an error, but it is not as expected based on documentation or contract.
Parameters | Description |
---|---|
message(str) | Text about the error that occurred. |
response(requests.Response) | The HTTP response resulting from a request. |