Exceptions¶
Exceptions are available directly in the tweepy
module, which means
tweepy.errors
itself does not need to be imported. For example,
tweepy.errors.TweepyException
is available as
tweepy.TweepyException
.
- exception tweepy.errors.HTTPException¶
기반 클래스:
tweepy.errors.TweepyException
Exception raised when an HTTP request fails
버전 4.0에 추가.
- response¶
Requests Response from the Twitter API
- Type
- exception tweepy.errors.BadRequest¶
기반 클래스:
tweepy.errors.HTTPException
Exception raised for a 400 HTTP status code
버전 4.0에 추가.
- exception tweepy.errors.Unauthorized¶
기반 클래스:
tweepy.errors.HTTPException
Exception raised for a 401 HTTP status code
버전 4.0에 추가.
- exception tweepy.errors.Forbidden¶
기반 클래스:
tweepy.errors.HTTPException
Exception raised for a 403 HTTP status code
버전 4.0에 추가.
- exception tweepy.errors.NotFound¶
기반 클래스:
tweepy.errors.HTTPException
Exception raised for a 404 HTTP status code
버전 4.0에 추가.
- exception tweepy.errors.TooManyRequests¶
기반 클래스:
tweepy.errors.HTTPException
Exception raised for a 429 HTTP status code
버전 4.0에 추가.
- exception tweepy.errors.TwitterServerError¶
기반 클래스:
tweepy.errors.HTTPException
Exception raised for a 5xx HTTP status code
버전 4.0에 추가.