From de403deed73340f8068739dc240ebebfa1053872 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 20 Mar 2023 13:02:50 +0100 Subject: Wrappers Python: Implement V2 initial API --- wrappers/python/eduvpn_common/error.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 wrappers/python/eduvpn_common/error.py (limited to 'wrappers/python/eduvpn_common/error.py') diff --git a/wrappers/python/eduvpn_common/error.py b/wrappers/python/eduvpn_common/error.py deleted file mode 100644 index 3d84331..0000000 --- a/wrappers/python/eduvpn_common/error.py +++ /dev/null @@ -1,14 +0,0 @@ -from enum import Enum - - -class WrappedError(Exception): - """An exception returned by the Go library - - :param: traceback: str: The traceback of the error including newlines - :param: cause: str: The cause of the error as a message - """ - - def __init__(self, traceback: str, cause: str): - super(WrappedError, self).__init__(cause) - self.traceback = traceback - self.cause = cause -- cgit v1.2.3