UnexpectedResponse - Platform - BlueCat Gateway - 20.12.1

Gateway Administration Guide

BlueCat Gateway

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.

class bluecat_libraries.http_client.UnexpectedResponse(message, response, *args, **kwargs)

Bases: bluecat_libraries.http_client.exceptions.ErrorResponse

Parameter Description
message (str) Text about the error that occurred
response (requests.Response) The HTTP response resulting from a request