From 27a26b8fe9d8d2afdc2c2d6083c8ba8e9fa9279e Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sun, 13 Aug 2023 18:15:31 +0100 Subject: [PATCH] remove __str__ override --- vban_cmd/error.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vban_cmd/error.py b/vban_cmd/error.py index a655e15..4c635c6 100644 --- a/vban_cmd/error.py +++ b/vban_cmd/error.py @@ -1,13 +1,6 @@ class VBANCMDError(Exception): """Base VBANCMD Exception class. Raised when general errors occur""" - def __init__(self, msg): - self.message = msg - super().__init__(self.message) - - def __str__(self): - return f"{type(self).__name__}: {self.message}" - class VBANCMDConnectionError(VBANCMDError): """Exception raised when connection/timeout errors occur"""