diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2018-05-16 17:52:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-16 17:52:16 -0400 |
| commit | 6a8db03ade64bd2fdf5c7b5df54ad113a062e005 (patch) | |
| tree | ea667ec04968450be04b68188cba2a45b7bcee17 /py/objexcept.c | |
| parent | 07c0a3227da24ef92e44a2457f94af71cc7f081c (diff) | |
| parent | 918d30cb97c8d15ad27c6a59f68c55dc211b425a (diff) | |
Merge pull request #838 from rhooper/master
add supervisor.reload() to soft reboot from code
Diffstat (limited to 'py/objexcept.c')
| -rw-r--r-- | py/objexcept.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objexcept.c b/py/objexcept.c index 9ef2f2e34..a800a13fb 100644 --- a/py/objexcept.c +++ b/py/objexcept.c @@ -249,6 +249,7 @@ const mp_obj_type_t mp_type_ ## exc_name = { \ // http://docs.python.org/3/library/exceptions.html MP_DEFINE_EXCEPTION(SystemExit, BaseException) MP_DEFINE_EXCEPTION(KeyboardInterrupt, BaseException) +MP_DEFINE_EXCEPTION(ReloadException, BaseException) MP_DEFINE_EXCEPTION(GeneratorExit, BaseException) MP_DEFINE_EXCEPTION(Exception, BaseException) #if MICROPY_PY_ASYNC_AWAIT |
