mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-26 19:01:17 +00:00
Create trap for error message when wasm_instance_new fails: - Similar to [this PR](https://github.com/bytecodealliance/wasm-micro-runtime/pull/1526), but create a wasm_trap_t to output the error msg instead of adding error_buf to the API. - Trap will need to be deleted by the caller but is not a breaking change as it is only created if trap is not NULL. - Add error messages for all failure cases here, try to make them accurate but welcome feedback for improvements. Signed-off-by: Andrew Chambers <ncham@amazon.com> |
||
|---|---|---|
| .. | ||
| aot_export.h | ||
| lib_export.h | ||
| wasm_c_api.h | ||
| wasm_export.h | ||