Exporting `RuntimeError` and `LinkError`?
- Dominant language
- JavaScript
- Stars
- 718
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
Hi there, I noticed that we export `CompileError` ([defined here](https://github.com/evanw/polywasm/blob/d5a50edbb2bd1c9e4ae206b5e37d393524879361/src/parse.ts#L460) and [exported here](https://github.com/evanw/polywasm/blob/d5a50edbb2bd1c9e4ae206b5e37d393524879361/src/index.ts#L48)), but we don't do so for `RuntimeError` and `LinkError`:
* https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/JavaScript_interface/RuntimeError
* https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/JavaScript_interface/LinkError
It's simple to do so in my own code, but would be nice if they were exported from `polywasm` as well. Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.