diff options
Diffstat (limited to 'pokemontools/exceptions.py')
-rw-r--r-- | pokemontools/exceptions.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pokemontools/exceptions.py b/pokemontools/exceptions.py index 71d0da2..4de62eb 100644 --- a/pokemontools/exceptions.py +++ b/pokemontools/exceptions.py @@ -11,3 +11,18 @@ class TextScriptException(Exception): """ TextScript encountered an inconsistency or problem. """ + +class ConfigException(Exception): + """ + Configuration error. Maybe a missing config variable. + """ + +class PreprocessorException(Exception): + """ + There was a problem in the preprocessor. + """ + +class MacroException(PreprocessorException): + """ + There was a problem with a macro. + """ |