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

Type of Wasm exceptions in JS #24

Closed
eholk opened this issue Aug 11, 2017 · 1 comment
Closed

Type of Wasm exceptions in JS #24

eholk opened this issue Aug 11, 2017 · 1 comment

Comments

@eholk
Copy link
Contributor

eholk commented Aug 11, 2017

What should be the type of Wasm exceptions caught in JS? Should they be an instance of WebAssembly.RuntimeError with some extra fields for the identity of the exception and its arguments? Or does it make sense to have a separate type like WebAssembly.ProgramException to separate user-defined errors from those defined by the standard?

@eholk
Copy link
Contributor Author

eholk commented Aug 11, 2017

I just found #15, which seems to cover everything in this issue and more, so I think that is the better place to discuss.

@eholk eholk closed this as completed Aug 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant