summaryrefslogtreecommitdiff
path: root/py/objexcept.c
diff options
context:
space:
mode:
authorDavePutz <dwputz@gmail.com>2020-12-10 12:05:51 -0600
committerGitHub <noreply@github.com>2020-12-10 12:05:51 -0600
commit3d5c77c601fa8297861416dde52211809c3e7b58 (patch)
treed4d606afaabfae6632110824db0fd098521ea878 /py/objexcept.c
parent3abc671bbdf617dcf87cbd4eda1201c944c05651 (diff)
parente9fd689d576f834eff255d5f15edcad07c46e2ec (diff)
Merge pull request #35 from adafruit/main
Update from adafruit/main
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)