Function chakracore_sys::JsCreateError [] [src]

pub unsafe extern "system" fn JsCreateError(
    message: JsValueRef,
    error: *mut JsValueRef
) -> JsErrorCode

Creates a new JavaScript error object Requires an active script context. Message for the error object. The new error object. The code JsNoError if the operation succeeded, a failure code otherwise.