mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 14:44:21 +01:00
The rationale behind this is being able to identify exceptions that we may not be taking into account
16 lines
378 B
Python
16 lines
378 B
Python
# Appointment errors
|
|
APPOINTMENT_EMPTY_FIELD = -1
|
|
APPOINTMENT_WRONG_FIELD_TYPE = -2
|
|
APPOINTMENT_WRONG_FIELD_SIZE = -3
|
|
APPOINTMENT_WRONG_FIELD_FORMAT = -4
|
|
APPOINTMENT_FIELD_TOO_SMALL = -5
|
|
APPOINTMENT_FIELD_TOO_BIG = -6
|
|
APPOINTMENT_WRONG_FIELD = -7
|
|
APPOINTMENT_CIPHER_NOT_SUPPORTED = -8
|
|
APPOINTMENT_HASH_FUNCTION_NOT_SUPPORTED = -9
|
|
|
|
# UNHANDLED
|
|
UNKNOWN_JSON_RPC_EXCEPTION = -99
|
|
|
|
|