summaryrefslogtreecommitdiff
path: root/py/objexcept.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-12-02 13:10:39 -0800
committerScott Shawcroft <scott@tannewt.org>2020-12-02 13:10:39 -0800
commit608c98501bb90e02a480b2d84032a46f9a4d0737 (patch)
treeadea018a0c0e714ef33b79a306b69885568b6ad0 /py/objexcept.c
parent34bbcc4910014c3b4646d8005baf8244bac51f03 (diff)
parentd7ba641ff646b48e5ad38ff72a2dcfe17bb54624 (diff)
Merge remote-tracking branch 'adafruit/main' into msgpack
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)