UnexpectedResponse exception - Platform - BlueCat Gateway - 24.1

Gateway Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
24.1

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.