Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Creates a new JavaScript error object.
Syntax
STDAPI_(JsErrorCode) JsCreateError(
_In_ JsValueRef message,
_Out_ JsValueRef *error
);
Parameters
message
Message for the error object.
error
The new error object.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
Requirements
Header: jsrt.h