Go to the latest version of this document.

# ``twisted`.`web`.`client`.`ResponseFailed``

exception documentation

`class ResponseFailed(_WrapperException): (source)`

Known subclasses: `twisted.web.client.ResponseNeverReceived`

Constructor: `ResponseFailed(reasons, response)`

View In Hierarchy

`ResponseFailed` indicates that all of the response to a request was not received for some reason.

Method | `__init__` | Undocumented
Instance Variable | `reasons` | A `list` of one or more `Failure` instances giving the reasons the response was considered to have failed.
Instance Variable | `response` | If specified, the `Response` received from the server (and in particular the status code and the headers).

def __init__(self, reasons, response=None): (source)
overrides `twisted.web._newclient._WrapperException.__init__`

Undocumented

reasons = (source)
overrides `twisted.web._newclient._WrapperException.reasons`

A `list` of one or more `Failure` instances giving the reasons the response was considered to have failed.

response = (source)

If specified, the `Response` received from the server (and in particular the status code and the headers).