summaryrefslogtreecommitdiff
path: root/pokemontools/exceptions.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-04 20:38:11 -0700
committerBryan Bishop <kanzure@gmail.com>2013-09-04 20:38:11 -0700
commitee05e2fe1d03e0e68c64cea09ec41ab70e12bc3a (patch)
treedb3b846aa6c92acd4cbf6f4bc0f7e5fb566ade27 /pokemontools/exceptions.py
parentc2712bb90f09083f0bfa786750be2a9b34105fa9 (diff)
parent37441a35b13f3421ba0c0f234e2ee4bbc5db4b63 (diff)
Merge pull request #10 from kanzure/config
Configuration for paths
Diffstat (limited to 'pokemontools/exceptions.py')
-rw-r--r--pokemontools/exceptions.py15
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.
+ """