pub unsafe extern "C" fn napi_fatal_error(
location: *const c_char,
location_len: usize,
message: *const c_char,
message_len: usize,
) -> !Available on crate feature
napi only.Expand description
Raises a fatal error to terminate the process immediately.
ยงArguments
-
location- Optional location for the error occurrence. -
location_len- The byte length of the location, or NAPI_AUTO_LENGTH if it is terminated by a null character. -
message- The message associated with the error. -
message_len- The byte length of the message, or NAPI_AUTO_LENGTH if it is terminated by a null character.
Available since API-level: 10