summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpncommon/error.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-05-03 16:24:45 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-05-03 16:24:45 +0200
commit627d2801d820c9dcd791b551cbfa874931398951 (patch)
tree8d00e891882b39f93e7c0e3acbde74aaad02622a /wrappers/python/eduvpncommon/error.py
parent41041783cf49763614b94e6026e87312b01638d3 (diff)
Python: Remove obsolete code
Diffstat (limited to 'wrappers/python/eduvpncommon/error.py')
-rw-r--r--wrappers/python/eduvpncommon/error.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/wrappers/python/eduvpncommon/error.py b/wrappers/python/eduvpncommon/error.py
deleted file mode 100644
index 59f0607..0000000
--- a/wrappers/python/eduvpncommon/error.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from enum import Enum
-
-
-class GoError(Exception):
- message_dict: dict
- code: Enum
-
- def __init__(self, err: Enum, messages: dict):
- assert err
- self.code = err
- self.message_dict = messages
-
- def __str__(self):
- return self.message_dict[self.code]