JSValue.CreateError(String, JSContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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