exception documentation
class Timeout(RequestException): (source)
Known subclasses: requests.exceptions.ConnectTimeout
, requests.exceptions.ReadTimeout
The request timed out. Catching this error will catch both :exc:`~requests.exceptions.ConnectTimeout` and :exc:`~requests.exceptions.ReadTimeout` errors.
Inherited from RequestException
:
Method | __init__ |
Initialize RequestException with `request` and `response` objects. |
Instance Variable | request |
Undocumented |
Instance Variable | response |
Undocumented |