Module grab.error¶
Custom exception classes for Grab.
-
class
grab.error.
GrabTimeoutError
(*args, **kwargs)[source]¶ Raises when configured time is outed for the request.
In curl transport it is CURLE_OPERATION_TIMEDOUT (28)
-
class
grab.error.
GrabConnectionError
(*args, **kwargs)[source]¶ Raised when it is not possible to establish network connection.
In curl transport it is CURLE_COULDNT_CONNECT (7)
-
class
grab.error.
GrabAuthError
[source]¶ Raised when remote server denies authentication credentials.
In curl transport it is CURLE_COULDNT_CONNECT (67)
-
class
grab.error.
GrabTooManyRedirectsError
[source]¶ Raised when Grab reached max. allowd number of redirects for one request.