aboutsummaryrefslogtreecommitdiff
path: root/scripts/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/exceptions.py')
-rw-r--r--scripts/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/exceptions.py b/scripts/exceptions.py
index ec170ba..730664a 100644
--- a/scripts/exceptions.py
+++ b/scripts/exceptions.py
@@ -39,3 +39,7 @@ class ProcessFailed(Exception):
def __str__(self):
return "Process failed: " + str(self.process) + \
" with return code: " + str(self.returncode)
+
+class DatabaseUninitialized(Exception):
+ def __str__(self):
+ return "Database seems to be uninitialized."