Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport https://github.com/bytecodealliance/wit-bindgen/pull/409 to wai #12

Open
Michael-F-Bryan opened this issue Nov 15, 2022 · 0 comments
Assignees

Comments

@Michael-F-Bryan
Copy link
Contributor

Michael-F-Bryan commented Nov 15, 2022

The JavaScript bindings should throw exceptions instead of returning a Rust-like result.

See bytecodealliance/wit-bindgen#409 for one implementation.

@Michael-F-Bryan Michael-F-Bryan modified the milestone: Wasmer Pack MVP Nov 16, 2022
@Michael-F-Bryan Michael-F-Bryan added the sprint-mvp Wasmer Pack's MVP sprint label Nov 16, 2022
@Michael-F-Bryan Michael-F-Bryan changed the title Backport https://github.com/bytecodealliance/wit-bindgen/pull/409 to wai gen-host-js: Error wrapping and unwrapping for singular Result types Nov 17, 2022
@Michael-F-Bryan Michael-F-Bryan changed the title gen-host-js: Error wrapping and unwrapping for singular Result types Backport https://github.com/bytecodealliance/wit-bindgen/pull/409 to wai Nov 17, 2022
@Michael-F-Bryan Michael-F-Bryan removed the sprint-mvp Wasmer Pack's MVP sprint label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants