mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +02:00
made the parent of all exceptions an abstract class
This commit is contained in:
@ -277,7 +277,7 @@ class GradleHandler(BuildHandler):
|
|||||||
def get_jacoco_report_paths(self) -> Iterable[str]:
|
def get_jacoco_report_paths(self) -> Iterable[str]:
|
||||||
raise GradleAggregateReportNotFound("Gradle does not generate a single coverage report file")
|
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)"
|
reason_for_failure = "Generic handler expection (this shouldn't appear)"
|
||||||
|
|
||||||
class NoTestsFoundError(HandlerException):
|
class NoTestsFoundError(HandlerException):
|
||||||
|
Reference in New Issue
Block a user