UnexpectedResponse exception - BlueCat Python Library - 24.1

BlueCat Python Library Guide

Product name
BlueCat Python Library

Click a link to jump to the indicated section.

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.