Function wasmedge_sys::ffi::WasmEdge_ResultGen
source · pub unsafe extern "C" fn WasmEdge_ResultGen(
Category: WasmEdge_ErrCategory,
Code: u32
) -> WasmEdge_Result
Expand description
Generate the result with code.
\param Category the WasmEdge_ErrCategory to specify the error category. \param Code the 24-bit length error code. The data exceeds 24 bits will be stripped.
\returns WasmEdge_Result struct with the given data.