diff options
Diffstat (limited to 'pokemontools/exceptions.py')
-rw-r--r-- | pokemontools/exceptions.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pokemontools/exceptions.py b/pokemontools/exceptions.py new file mode 100644 index 0000000..71d0da2 --- /dev/null +++ b/pokemontools/exceptions.py @@ -0,0 +1,13 @@ +""" +Custom exceptions used throughout the project. +""" + +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. + """ |