From c5abfb457e47b1152d1175ad3691323db26f5679 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Thu, 20 Mar 2025 09:50:58 +0100 Subject: [PATCH] made the parent of all exceptions an abstract class --- handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers.py b/handlers.py index d180e00..63257f5 100644 --- a/handlers.py +++ b/handlers.py @@ -277,7 +277,7 @@ class GradleHandler(BuildHandler): def get_jacoco_report_paths(self) -> Iterable[str]: raise GradleAggregateReportNotFound("Gradle does not generate a single coverage report file") -class HandlerException(Exception): +class HandlerException(Exception, ABC): reason_for_failure = "Generic handler expection (this shouldn't appear)" class NoTestsFoundError(HandlerException):