exception documentation

An error indicating that the server returned an error response to a request.

Method __init__ No summary
Instance Variable consumer See __init__
def __init__(self, reason, consumer=None): (source)
Parameters
reason:bytesThe server response minus the status indicator.
consumer:callable that takes objectThe function meant to handle the values for a multi-line response.