diff options
author | Damien George <damien@micropython.org> | 2024-05-09 15:11:21 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-05-13 11:52:17 +1000 |
commit | a67e326cb9753f53e14a42b347133a571f972140 (patch) | |
tree | eeea3e4a1a8e76b67914e16b1ef87bd62b4788eb /docs/reference/filesystem.rst | |
parent | 3f34be69c77dfbd1533af1f04ea460d7da2d118a (diff) |
webassembly/proxy_c: Ensure objs thrown into generators are exceptions.
This commit defines a new `JsException` exception type which is used on the
Python side to wrap JavaScript errors. That's then used when a JavaScript
Promise is rejected, and the reason is then converted to a `JsException`
for the Python side to handle.
This new exception is exposed as `jsffi.JsException`.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/reference/filesystem.rst')
0 files changed, 0 insertions, 0 deletions