wamr_sys

Function wasm_runtime_set_exception

Source
pub unsafe extern "C" fn wasm_runtime_set_exception(
    module_inst: wasm_module_inst_t,
    exception: *const c_char,
)
Expand description

Set exception info of the WASM module instance.

@param module_inst the WASM module instance

@param exception the exception string