Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 3fb5bf4

Browse files
authored
Make how stack trace propagates more abstract (#203)
This was suggested by @rossberg in #197 (comment).
1 parent e9f4732 commit 3fb5bf4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proposals/exception-handling/Exceptions.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,9 @@ conventions](https://webassembly.github.io/spec/web-api/index.html#conventions).
459459
When `ExceptionOption` is not provided or it does not contain `traceStack`
460460
entry, `traceStack` is considered `false` by default.
461461

462-
To preserve stack trace info when crossing the JS to Wasm boundary, `Exception`
463-
can internally contain an optional `externref` value containing a stack trace
464-
string, which is propagated when caught by `catch` and rethrown by `rethrow`.
462+
To preserve stack trace info when crossing the JS to Wasm boundary, exceptions
463+
can internally contain a stack trace, which is propagated when caught by `catch`
464+
and rethrown by `rethrow`.
465465

466466
More formally, the added interfaces look like the following:
467467

0 commit comments

Comments
 (0)