Skip to content

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 ​


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 ​

Released under the MIT license