summaryrefslogtreecommitdiff
path: root/pokemontools/exceptions.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-01 15:45:04 -0500
committerBryan Bishop <kanzure@gmail.com>2013-09-01 15:45:04 -0500
commite188fa3eb451c6951ebd6017bd2eb959306f0b60 (patch)
treeba36bec9b11392a7305b93fef7afdb8c86cac01a /pokemontools/exceptions.py
parentccc1d82d957bd98ffd60c15410eec67888f5e212 (diff)
make up TextScriptException to replace two asserts
Diffstat (limited to 'pokemontools/exceptions.py')
-rw-r--r--pokemontools/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pokemontools/exceptions.py b/pokemontools/exceptions.py
index 674f829..71d0da2 100644
--- a/pokemontools/exceptions.py
+++ b/pokemontools/exceptions.py
@@ -6,3 +6,8 @@ class AddressException(Exception):
"""
There was a problem with an address. Maybe it was out of range or invalid.
"""
+
+class TextScriptException(Exception):
+ """
+ TextScript encountered an inconsistency or problem.
+ """