Function script::dom::bindings::import::module::jsapi::js::GetErrorMessage

source ยท
pub unsafe extern "C" fn GetErrorMessage(
    userRef: *mut c_void,
    errorNumber: u32,
) -> *const JSErrorFormatString
Expand description

A JSErrorCallback suitable for passing to |JS_ReportErrorNumberASCII| and similar functions in concert with one of the |JSErrNum| error numbers.

This function is a function only of |errorNumber|: |userRef| and ambient state have no effect on its behavior.