From 8a8ebbe2358f5ddfa8a5f59adcbd0e19d9e9b9f8 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Tue, 7 Nov 2023 10:44:39 -0500 Subject: Make non "if_available" il accessors throw ILException, create exceptions.py for custom exception types --- python/exceptions.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 python/exceptions.py (limited to 'python/exceptions.py') 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 -- cgit v1.3.1