pub unsafe extern "C" fn WasmEdge_ResultGetMessage(
    Res: WasmEdge_Result
) -> *const c_char
Expand description

Get the result message.

The returned string must NOT be destroyed. If the error category of the result is NOT WasmEdge_ErrCategory_WASM, the message will always be “user defined error code”.

\param Res the WasmEdge_Result struct.

\returns NULL-terminated C string of the corresponding error message.