mirror of
https://github.com/SantaSpeen/anixart.git
synced 2026-10-28 15:00:02 +00:00
Обновил ошибки в хандлере
This commit is contained in:
1 parent
2f18c5ce85
commit
c740242c3f
1 file changed
+2
-3
@@ -2,9 +2,8 @@ from enum import IntEnum
|
|||||||
|
|
||||||
|
|
||||||
class AnixartAuthErrors(IntEnum):
|
class AnixartAuthErrors(IntEnum):
|
||||||
""" Error codes for AnixartApi authentication."""
|
INCORRECT_LOGIN = 2
|
||||||
INCORRECT_LOGIN = 1
|
INCORRECT_PASSWORD = 3
|
||||||
INCORRECT_PASSWORD = 2
|
|
||||||
|
|
||||||
|
|
||||||
def errors_handler(error):
|
def errors_handler(error):
|
||||||
|
|||||||
Reference in new issue
Block a user