summaryrefslogtreecommitdiff
path: root/python/exceptions.py
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2023-11-07 10:44:39 -0500
committerJosh Ferrell <josh@vector35.com>2023-11-07 10:44:50 -0500
commit8a8ebbe2358f5ddfa8a5f59adcbd0e19d9e9b9f8 (patch)
treece41ac96daa29ecabbbacc09de9ae98ccd3b1637 /python/exceptions.py
parentb6ba318c569540286a0c296887f7d265f9b91602 (diff)
Make non "if_available" il accessors throw ILException, create exceptions.py for custom exception types
Diffstat (limited to 'python/exceptions.py')
-rw-r--r--python/exceptions.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/exceptions.py b/python/exceptions.py
new file mode 100644
index 00000000..cb285253
--- /dev/null
+++ b/python/exceptions.py
@@ -0,0 +1,7 @@
+class RelocationWriteException(Exception):
+ """ Exception raised when a relocation fails to apply """
+ pass
+
+class ILException(Exception):
+ """ Exception raised when IL operations fail """
+ pass