mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-10 10:49:39 +00:00
Add more errors, update to v0.9.1
This commit is contained in:
@@ -142,6 +142,10 @@ class RPCError(Exception):
|
||||
'CHANNEL_INVALID':
|
||||
'Invalid channel object. Make sure to pass the right types.',
|
||||
'MESSAGE_ID_INVALID': 'The specified message ID is invalid.',
|
||||
'CONNECTION_LAYER_INVALID':
|
||||
'The very first request must always be InvokeWithLayerRequest.',
|
||||
'INPUT_METHOD_INVALID':
|
||||
'The invoked method does not exist anymore or has never existed.',
|
||||
|
||||
# 401 UNAUTHORIZED
|
||||
'AUTH_KEY_UNREGISTERED': 'The key is not registered in the system.',
|
||||
|
Reference in New Issue
Block a user