다음을 통해 공유


JsCreateURIError Function

Creates a new JavaScript URIError error object.

Syntax

STDAPI_(JsErrorCode) JsCreateURIError(  
   _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

See Also

Reference (JavaScript Runtime)