Container for all errors raised by the Twitter Ads SDK.
-
exception
error.
BadRequest
(response, **kwargs)[source]
Bad Request (400).
-
exception
error.
ClientError
(response, **kwargs)[source]
Parent class for preventable client errors.
-
exception
error.
Error
(response, **kwargs)[source]
The base class for all SDK error types.
-
static
from_response
(response)[source]
Returns the correct error type from a ::class::Response object.
-
exception
error.
Forbidden
(response, **kwargs)[source]
Forbidden (403).
-
exception
error.
NotAuthorized
(response, **kwargs)[source]
Not Authorized (401).
-
exception
error.
NotFound
(response, **kwargs)[source]
Forbidden (404).
-
exception
error.
RateLimit
(response, **kwargs)[source]
Rate Limit (429).
-
exception
error.
ServerError
(response, **kwargs)[source]
Server Error (500).
-
exception
error.
ServiceUnavailable
(response, **kwargs)[source]
Service Unavailable (503).