Method | Description | |
---|---|---|
CreateError ( string message ) : |
Creates a new JavaScript error object Requires an active script context. |
|
CreateRangeError ( string message ) : |
Creates a new JavaScript RangeError error object Requires an active script context. |
|
CreateReferenceError ( string message ) : |
Creates a new JavaScript ReferenceError error object Requires an active script context. |
|
CreateSyntaxError ( string message ) : |
Creates a new JavaScript SyntaxError error object Requires an active script context. |
|
CreateTypeError ( string message ) : |
Creates a new JavaScript TypeError error object Requires an active script context. |
|
CreateUriError ( string message ) : |
Creates a new JavaScript URIError error object Requires an active script context. |
|
SetException ( |
Sets a exception Requires an active script context. |
|
ThrowIfError ( JsErrorCode error ) : void |
Throws if a native method returns an error code
|
public static CreateError ( string message ) : |
||
message | string | The message that describes the error |
return |
public static CreateRangeError ( string message ) : |
||
message | string | The message that describes the error |
return |
public static CreateReferenceError ( string message ) : |
||
message | string | The message that describes the error |
return |
public static CreateSyntaxError ( string message ) : |
||
message | string | The message that describes the error |
return |
public static CreateTypeError ( string message ) : |
||
message | string | The message that describes the error |
return |
public static CreateUriError ( string message ) : |
||
message | string | The message that describes the error |
return |
public static SetException ( |
||
exception | The error object | |
return | void |
public static ThrowIfError ( JsErrorCode error ) : void | ||
error | JsErrorCode | The error |
return | void |