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 722c44a..5b55294 100644 --- a/scripts/exceptions.py +++ b/scripts/exceptions.py @@ -19,3 +19,9 @@ class PhaseMismatch(Exception): pass def __str__(self): return "Phase in " + conf.phase_file + " is unknown." + +class ConfigurationError(Exception): + def __init__(self, message): + self.message = message; + def __str__(self): + return "Configuration error: " + message |