Function mozjs::jsapi::CreateError

source ยท
pub unsafe extern "C" fn CreateError(
    cx: *mut JSContext,
    type_: JSExnType,
    stack: Handle<*mut JSObject>,
    fileName: Handle<*mut JSString>,
    lineNumber: u32,
    columnNumber: u32,
    report: *mut JSErrorReport,
    message: Handle<*mut JSString>,
    cause: Handle<Value>,
    rval: MutableHandle<Value>,
) -> bool