UnexpectedResponse exception - BlueCat Python Library - 21.11.2

BlueCat Python Library Guide

Locale
English
Product name
BlueCat Python Library
Version
21.11.2

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.