requests.Timeout

exception requests.Timeout(*args, **kwargs)[source]

The request timed out.

Catching this error will catch both ConnectTimeout and ReadTimeout errors.