TikTokApi.exceptions
View Source
class TikTokException(Exception): """Generic exception that all other TikTok errors are children of.""" def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) class CaptchaException(TikTokException): """TikTok is showing captcha""" class NotFoundException(TikTokException): """TikTok indicated that this object does not exist.""" class EmptyResponseException(TikTokException): """TikTok sent back an empty response.""" class SoundRemovedException(TikTokException): """This TikTok sound has no id from being removed by TikTok.""" class InvalidJSONException(TikTokException): """TikTok returned invalid JSON.""" class NotAvailableException(TikTokException): """The requested object is not available in this region."""
View Source
class TikTokException(Exception): """Generic exception that all other TikTok errors are children of.""" def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs)
Generic exception that all other TikTok errors are children of.
View Source
def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs)
Inherited Members
- builtins.BaseException
- with_traceback
- args
View Source
class CaptchaException(TikTokException): """TikTok is showing captcha"""
TikTok is showing captcha
Inherited Members
- builtins.BaseException
- with_traceback
- args
View Source
class NotFoundException(TikTokException): """TikTok indicated that this object does not exist."""
TikTok indicated that this object does not exist.
Inherited Members
- builtins.BaseException
- with_traceback
- args
View Source
class EmptyResponseException(TikTokException): """TikTok sent back an empty response."""
TikTok sent back an empty response.
Inherited Members
- builtins.BaseException
- with_traceback
- args
View Source
class SoundRemovedException(TikTokException): """This TikTok sound has no id from being removed by TikTok."""
This TikTok sound has no id from being removed by TikTok.
Inherited Members
- builtins.BaseException
- with_traceback
- args
View Source
class InvalidJSONException(TikTokException): """TikTok returned invalid JSON."""
TikTok returned invalid JSON.
Inherited Members
- builtins.BaseException
- with_traceback
- args
View Source
class NotAvailableException(TikTokException): """The requested object is not available in this region."""
The requested object is not available in this region.
Inherited Members
- builtins.BaseException
- with_traceback
- args