from enum import Enum class UserCheck(Enum): USER_DOESNT_EXISTS = 0 INVALID_CREDENTIALS = 1 class ErrCode(Enum): UNKNOWN_ERROR = 0 USER_ALREADY_EXISTS = 1 ALREADY_LOGGED_IN = 2 INVALID_CREDENTIALS = 3 INVALID_TOKEN = 4 ROOM_DOESNT_EXIST = 10