@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 601 B
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
const e="ProfileGenerationError";var o;!function(e){e.TooComplex="too-complex",e.InvalidGeometry="invalid-geometry",e.InvalidElevationInfo="invalid-elevation-info",e.ElevationQueryError="elevation-query-error"}(o||(o={}));class r extends Error{constructor(o){super("profile could not be generated",{cause:o}),this.type=e}}function n(o){return o.type===e}export{r as ProfileGenerationError,o as ProfileGenerationErrorCause,n as isProfileGenerationError};