errors.py 571 Bytes
Newer Older
David Runge's avatar
David Runge committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class RepoManagementError(Exception):
    """A class of Errors that is raised on issues with handling a repository database"""


class RepoManagementFileError(RepoManagementError):
    """An Error that is raised on issues with reading or writing files using repo_managment"""


class RepoManagementValidationError(RepoManagementError):
    """An Error that is raised on issues with validating files using repo_managment"""


class RepoManagementFileNotFoundError(RepoManagementFileError, FileNotFoundError):
    """An Error that is raised when a file can not be found"""