Function nodex_api::fatal_error
source · pub fn fatal_error(msg: impl AsRef<str>, loc: Option<impl AsRef<str>>)
Expand description
The function call does not return, the process will be terminated. This API can be called even if there is a pending JavaScript exception.