mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
The `reason` in a rejected promise should be an instance of `Error`. That leads to better error messages on the JavaScript side. Signed-off-by: Damien George <damien@micropython.org>