GeoBlazor Pro


layout: pro title: Error parent: Pro Classes grand_parent: GeoBlazor Pro —

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Widgets

Error Class

Error is a class that enhances the debugging and error handling process. Rather than returning a generic JavaScript error, this Error returns a standardized error object with several properties. The error class can be useful in many scenarios, such as working with promises, the esriRequest module, and many different layers and widgets.
ArcGIS Maps SDK for JavaScript

public class Error :
System.IEquatable<dymaptic.GeoBlazor.Pro.Components.Widgets.Error>

Inheritance System.Object 🡒 Error

Implements System.IEquatable<Error>

Constructors

Error(string, string, object) Constructor

Error is a class that enhances the debugging and error handling process. Rather than returning a generic JavaScript error, this Error returns a standardized error object with several properties. The error class can be useful in many scenarios, such as working with promises, the esriRequest module, and many different layers and widgets.
ArcGIS Maps SDK for JavaScript

public Error(string Name, string Message, object Details);

Parameters

Name System.String

A unique error name.

Message System.String

A message describing the details of the error.

Details System.Object

The details object provides additional details specific to the error.

Properties

Error.Details Property

The details object provides additional details specific to the error.

public object Details { get; set; }

Property Value

System.Object

Error.Message Property

A message describing the details of the error.

public string Message { get; set; }

Property Value

System.String

Error.Name Property

A unique error name.

public string Name { get; set; }

Property Value

System.String