JsCreateURIError() private method

private JsCreateURIError ( JavaScriptValue message, JavaScriptValue &error ) : JavaScriptErrorCode
message JavaScriptValue
error JavaScriptValue
return JavaScriptErrorCode
        /// <summary>
        /// Creates a new JavaScript URIError error object
        /// </summary>
        /// <remarks>
        /// Requires an active script context.
        /// </remarks>
        /// <param name="message">Message for the error object.</param>
        /// <returns>The new error object.</returns>
        public static JavaScriptValue CreateUriError(JavaScriptValue message)
        {
            JavaScriptValue reference;

            Native.ThrowIfError(Native.JsCreateURIError(message, out reference));
            return(reference);
        }