This repository was archived by the owner on Apr 25, 2025. It is now read-only.
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Preserve identity of exceptions from JS when passing through wasm #189
Closed
Description
Some discussion starting at #183 (comment) already.
Proposal: attach an optional externref
to the core exception, and make sure it's propagated by catch
; rethrow
, but not expose it to wasm code. Then hosts that don't need it, should be able to avoid storing it at all. The JS API spec can then extract that value when it gets an exception from wasm, or create a new one if there isn't one.
Metadata
Metadata
Assignees
Labels
No labels