Düzenle

Aracılığıyla paylaş


JSValue.CreateError(String, JSContext) Method

Definition

Creates an error with the provided message, in the provided context.

[Foundation.Export("valueWithNewErrorFromMessage:inContext:")]
public static JavaScriptCore.JSValue CreateError (string message, JavaScriptCore.JSContext context);
static member CreateError : string * JavaScriptCore.JSContext -> JavaScriptCore.JSValue

Parameters

message
String
context
JSContext

Returns

Attributes

Applies to