Coverage for src/integry/exceptions.py: 67%
9 statements
« prev ^ index » next coverage.py v7.6.1, created at 2025-03-26 01:26 +0500
« prev ^ index » next coverage.py v7.6.1, created at 2025-03-26 01:26 +0500
1class NotFound(Exception):
2 pass
5class FunctionCallError(Exception):
6 errors = list[str]
8 def __init__(self, message: str, errors: list[str]):
9 self.errors = errors
10 super().__init__(message)
12 def __str__(self) -> str:
13 return super().__str__() + f"\nErrors: {self.errors}"