From 51fb49b1e266f826d852d54ce4fcd6806bdb538a Mon Sep 17 00:00:00 2001 From: Bashir ABDEL WAHED Date: Mon, 28 Oct 2024 11:13:09 +0100 Subject: [PATCH] fix: :bug: inherit from Exception instead of BaseException --- tawazi/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tawazi/errors.py b/tawazi/errors.py index d7098a33..81efc198 100644 --- a/tawazi/errors.py +++ b/tawazi/errors.py @@ -1,7 +1,7 @@ """Module for custom errors raised by Tawazi.""" -class TawaziBaseException(BaseException): +class TawaziBaseException(Exception): """BaseException of Tawazi from which all other exceptions inherit.""" pass