Handle AUTH_KEY_DUPLICATED on connection

This commit is contained in:
Lonami Exo
2018-03-30 12:18:18 +02:00
parent 2b9babb30f
commit 500792975e
4 changed files with 27 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ known_base_classes = {
401: 'UnauthorizedError',
403: 'ForbiddenError',
404: 'NotFoundError',
406: 'AuthKeyError',
420: 'FloodError',
500: 'ServerError',
}