JSException constructor (1 of 2)
Creates a new instance of JSException that wraps the JavaScript error that caused it.
C#
public JSException(JSError error)See Also
- struct JSError
- class JSException
- namespace Microsoft.JavaScript.NodeApi
JSException constructor (2 of 2)
Creates a new instance of JSException with an exception message and optional inner exception.
C#
public JSException(string message, Exception? innerException = null)See Also
- class JSException
- namespace Microsoft.JavaScript.NodeApi