diff options
Diffstat (limited to 'pokemontools/exceptions.py')
-rw-r--r-- | pokemontools/exceptions.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pokemontools/exceptions.py b/pokemontools/exceptions.py index 2ccc58a..4de62eb 100644 --- a/pokemontools/exceptions.py +++ b/pokemontools/exceptions.py @@ -16,3 +16,13 @@ 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. + """ |