layout: default title: JavascriptException parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Exceptions

JavascriptException Class

Converts a JavaScript Error into a .NET Exception

public class JavascriptException : System.Exception

Inheritance System.Object 🡒 System.Exception 🡒 JavascriptException

Constructors

JavascriptException(JavascriptError) Constructor

Creates a new Exception from a JavaScript Error

public JavascriptException(dymaptic.GeoBlazor.Core.Exceptions.JavascriptError error);

Parameters

error JavascriptError

The original JavaScript error.

Properties

JavascriptException.Name Property

The name of the JavaScript error.

public string? Name { get; }

Property Value

System.String

JavascriptException.Stack Property

The JavaScript stack trace.

public string? Stack { get; }

Property Value

System.String