You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
NewInstanceWithImports
calls out tocWasmerInstantiate
and that only returns a simple error.Motivation
To determine which imports are expected we should get better error feedback.
Proposed solution
Return more extensive error details with list of missing imports.
The text was updated successfully, but these errors were encountered: