private JsCreateTypeError ( |
||
message | ||
error | ||
Résultat | JavaScriptErrorCode |
/// <summary> /// Creates a new JavaScript TypeError 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 CreateTypeError(JavaScriptValue message) { JavaScriptValue reference; Native.ThrowIfError(Native.JsCreateTypeError(message, out reference)); return(reference); }