Skip to content

JSException class

An exception that was caused by an error thrown by JavaScript code or interactions with JavaScript objects.

C#
public class JSException : Exception

Public Members

namedescription
JSException(…)Creates a new instance of JSException with an exception message and optional inner exception. (2 constructors)
Error { get; }Gets the JavaScript error that caused this exception, or null if the exception was not caused by a JavaScript error.
override StackTrace { get; }Gets a stack trace that may include both .NET and JavaScript stack frames.

See Also

Released under the MIT license