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

feat(instance,module) Improve error messages #42

Merged
merged 4 commits into from
Jun 12, 2019

Conversation

Hywan
Copy link
Contributor

@Hywan Hywan commented Jun 12, 2019

Fix #41.

These patches improve error messages when instantiating a module with Module.Instantiate or with NewInstance.

The error message that is returned by Module.Instantiate isn't very helpful, but it's going to change with wasmerio/wasmer#493. Let's wait the next release of the runtime!

@Hywan Hywan added 🎉 enhancement New feature or request 📦 component-extension About the Go extension 🧪 tests I love tests labels Jun 12, 2019
@Hywan Hywan self-assigned this Jun 12, 2019
@Hywan
Copy link
Contributor Author

Hywan commented Jun 12, 2019

bors r+

bors bot added a commit that referenced this pull request Jun 12, 2019
42: feat(instance,module) Improve error messages r=Hywan a=Hywan

Fix #41.

These patches improve error messages when instantiating a module with `Module.Instantiate` or with `NewInstance`.

The error message that is returned by `Module.Instantiate` isn't very helpful, but it's going to change with wasmerio/wasmer#493. Let's wait the next release of the runtime!

Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
@bors
Copy link
Contributor

bors bot commented Jun 12, 2019

@bors bors bot merged commit 6ebeba0 into wasmerio:master Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 component-extension About the Go extension 🎉 enhancement New feature or request 🧪 tests I love tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NewInstanceWithImports does not return helpful error when there is a mismatch
1 participant