summaryrefslogtreecommitdiff
path: root/py/objexcept.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-12-01 20:01:14 -0500
committerDan Halbert <halbert@halwitz.org>2020-12-01 20:01:14 -0500
commit8b7c23c1ee5d3fbfbda9116d6689e99f44e3b95a (patch)
tree52d4423b7bc48524d609abc6f2c7391c41fb8009 /py/objexcept.c
parent28d9e9186e6a9a153217535bd2d9f144672846bb (diff)
address review comments
Diffstat (limited to 'py/objexcept.c')
-rw-r--r--py/objexcept.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/objexcept.c b/py/objexcept.c
index 01ba6da9c..afefee2ca 100644
--- a/py/objexcept.c
+++ b/py/objexcept.c
@@ -319,6 +319,9 @@ MP_DEFINE_EXCEPTION(Exception, BaseException)
MP_DEFINE_EXCEPTION(UnicodeError, ValueError)
//TODO: Implement more UnicodeError subclasses which take arguments
#endif
+#if CIRCUITPY_ALARM
+ MP_DEFINE_EXCEPTION(DeepSleepRequest, BaseException)
+#endif
MP_DEFINE_EXCEPTION(MpyError, ValueError)
/*
MP_DEFINE_EXCEPTION(Warning, Exception)