ESM
import { ArcgisChartsError } from "@arcgis/charts-components/utils/errors/index.js";- Inheritance:
- ArcgisChartsError→
Error
Class that enhances the debugging and error handling process. Rather than returning a generic JavaScript error, this class returns a standardized error object with several properties.
Constructors
Properties
details
Property
- Type
- T | undefined
The details object provides additional details specific to the error, giving more information about why the error was raised.
For example, the details object includes additional information to help the developer diagnose issues with a problematic request.
name
Property
- Type
- string
A unique error name. This can be used to map to a localized error message to present to the user.