Function mozjs::error::get_error_message

source ยท
unsafe extern "C" fn get_error_message(
    _user_ref: *mut c_void,
    error_number: c_uint,
) -> *const JSErrorFormatString
Expand description

Callback used to throw javascript errors. See throw_js_error for info about error_number.