JSError structure
C#
public struct JSErrorPublic Members
| name | description |
|---|---|
| JSError(…) | (3 constructors) |
| Message { get; } | |
| Value { get; } | |
| ThrowError() | |
| static Fatal(…) | |
| static GetAndClearLastException() | |
| static IsExceptionPending() | |
| static ThrowError(…) | Throws a JS error for a .NET exception. (3 methods) |
| static ThrowRangeError(…) | (2 methods) |
| static ThrowSyntaxError(…) | (2 methods) |
| static ThrowTypeError(…) | (2 methods) |
| struct FatalIfFailedScope | Converts ThrowIfFailed to FatalIfFailed in that scope. |
See Also
- namespace Microsoft.JavaScript.NodeApi
- JSError.cs