summaryrefslogtreecommitdiff
path: root/pokemontools/exceptions.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-02 02:17:44 -0500
committerBryan Bishop <kanzure@gmail.com>2013-09-02 12:33:03 -0500
commit2cf0cfa34d008d3f845082a86ec037311570396b (patch)
tree2d192b951c272040289ba35b739435eaff794b48 /pokemontools/exceptions.py
parent6f9ed6a829aa3e0be2c7f8e8d871bdeb593d5698 (diff)
class Preprocessor instead of just functions
Diffstat (limited to 'pokemontools/exceptions.py')
-rw-r--r--pokemontools/exceptions.py10
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.
+ """