aboutsummaryrefslogtreecommitdiff
path: root/src/utils/consts.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/consts.py')
-rw-r--r--src/utils/consts.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/utils/consts.py b/src/utils/consts.py
index d53a4660..423c7eac 100644
--- a/src/utils/consts.py
+++ b/src/utils/consts.py
@@ -1,4 +1,4 @@
-import typing
+import enum, typing
from . import _consts_256_color
class IRCColor(object):
@@ -68,3 +68,11 @@ ANSI_UNDERLINE_RESET = "\033[24m"
PERMISSION_HARD_FAIL = 0
PERMISSION_FORCE_SUCCESS = 1
PERMISSION_ERROR = 2
+
+class Exit(enum.Enum):
+ WRONGVERSION = 1
+ LOCKED = 2
+ DISCONNECT = 3
+ FATAL = 4
+
+ PANIC = 20