diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 19:34:50 -0700 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 19:34:50 -0700 |
commit | 2e6d805aea27741bc0e6097bd52c6f2b6d176b74 (patch) | |
tree | bb91bace929310f2787b80424fdada70bba94e81 /pokemontools/exceptions.py | |
parent | 7aa016fb528bcc8dcb30c6a887957851623eccc0 (diff) | |
parent | 52d4978974263f4f19985632442291c2d30c4b67 (diff) |
Merge pull request #7 from kanzure/september-cleanup
python cleanup
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. + """ |