Function mozjs::jsapi::js::GetErrorTypeName
source ยท pub unsafe extern "C" fn GetErrorTypeName(
cx: *mut JSContext,
exnType: i16,
) -> *mut JSLinearString
Expand description
Get an error type name from a JSExnType constant. Returns nullptr for invalid arguments and JSEXN_INTERNALERR