neon::sys::bindings

Function create_error

Source
pub unsafe fn create_error(
    env: Env,
    code: Value,
    msg: Value,
    result: *mut Value,
) -> Result<(), Status>
Available on crate features sys and napi-1 only.
Expand description