Coverage for kwasa\libs\exceptions.py: 0%
8 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-04-14 18:06 +0300
« prev ^ index » next coverage.py v7.8.0, created at 2025-04-14 18:06 +0300
1# Define custom exceptions
2class GitClonerError(Exception):
3 """Base class for all exceptions in GitCloner."""
5 pass
8class RepositoryAlreadyExistsError(GitClonerError):
9 """Raised when the repository already exists in the target directory."""
11 pass
14class CloneFailedError(GitClonerError):
15 """Raised when the cloning operation fails."""
17 pass
20class CleanupFailedError(GitClonerError):
21 """Raised when cleaning up a failed clone fails."""
23 pass