summaryrefslogtreecommitdiff
path: root/pokemontools/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'pokemontools/exceptions.py')
-rw-r--r--pokemontools/exceptions.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pokemontools/exceptions.py b/pokemontools/exceptions.py
new file mode 100644
index 0000000..674f829
--- /dev/null
+++ b/pokemontools/exceptions.py
@@ -0,0 +1,8 @@
+"""
+Custom exceptions used throughout the project.
+"""
+
+class AddressException(Exception):
+ """
+ There was a problem with an address. Maybe it was out of range or invalid.
+ """