diff options
Diffstat (limited to 'scripts/exceptions.py')
-rw-r--r-- | scripts/exceptions.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/exceptions.py b/scripts/exceptions.py index ac7f093..649c235 100644 --- a/scripts/exceptions.py +++ b/scripts/exceptions.py @@ -42,3 +42,9 @@ class ProcessFailed(Exception): class DatabaseUninitialized(Exception): def __str__(self): return "Database seems to be uninitialized." + +class DirtyRepository(Exception): + def __init__(self, repo): + self.repo = repo + def __str__(self): + return "Detected dirty repository: " + self.repo |