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