mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 03:13:45 +03:00
30 lines
577 B
Python
30 lines
577 B
Python
from ._custom import (
|
|
ReadCancelledError,
|
|
TypeNotFoundError,
|
|
InvalidChecksumError,
|
|
InvalidBufferError,
|
|
SecurityError,
|
|
CdnFileTamperedError,
|
|
BadMessageError,
|
|
MultiError,
|
|
SignUpRequired,
|
|
)
|
|
from ._rpcbase import (
|
|
RpcError,
|
|
InvalidDcError,
|
|
BadRequestError,
|
|
UnauthorizedError,
|
|
ForbiddenError,
|
|
NotFoundError,
|
|
AuthKeyError,
|
|
FloodError,
|
|
ServerError,
|
|
BotTimeout,
|
|
TimedOutError,
|
|
_mk_error_type
|
|
)
|
|
|
|
# https://www.python.org/dev/peps/pep-0562/
|
|
def __getattr__(name):
|
|
return _mk_error_type(name=name)
|