diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-05-03 16:24:45 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-05-03 16:24:45 +0200 |
| commit | 627d2801d820c9dcd791b551cbfa874931398951 (patch) | |
| tree | 8d00e891882b39f93e7c0e3acbde74aaad02622a /wrappers/python/eduvpncommon | |
| parent | 41041783cf49763614b94e6026e87312b01638d3 (diff) | |
Python: Remove obsolete code
Diffstat (limited to 'wrappers/python/eduvpncommon')
| -rw-r--r-- | wrappers/python/eduvpncommon/error.py | 14 |
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] |
