#[no_mangle]
pub unsafe extern "C" fn rune_error_new(
    msg: *const c_char,
    len: c_int
) -> *mut Error
Expand description

Create a new Error with the provided error message.

It is the caller’s responsibility to free the Error using rune_error_free() once they are done with it.