micropython/ports
Damien George a67e326cb9 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>
2024-05-13 11:52:17 +10:00
..
bare-arm
cc3200
embed
esp32
esp8266
mimxrt
minimal
nrf
pic16bit
powerpc
qemu-arm
renesas-ra
rp2
samd
stm32
unix
webassembly webassembly/proxy_c: Ensure objs thrown into generators are exceptions. 2024-05-13 11:52:17 +10:00
windows
zephyr