refactors project structure

This commit is contained in:
Sergi Delgado Segura
2019-08-09 19:42:42 +01:00
parent 1019b207ff
commit 1cde4a2a11
31 changed files with 31 additions and 29 deletions

13
pisa/errors.py Normal file
View File

@@ -0,0 +1,13 @@
# 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