ArcGISRequestError
Constructors
Constructor Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| message Optional | string |
The error message from the API |
|
| code Optional | string | number |
The error code from the API |
|
| response Optional | any |
The original response from the API that caused the error |
|
| url Optional | string |
The original url of the request |
|
| options Optional | IRequestOptions |
The original options and parameters of the request |
Properties
| Property | Type | Notes |
|---|---|---|
| string | number |
The error code returned from the request. |
|
| string |
Formatted error message. See the |
|
| string |
The name of this error. Will always be |
|
| IRequestOptions |
The options of the original request that caused the error |
|
| string |
The errror message return from the request. |
|
| any |
The original JSON response the caused the error. |
|
| string |
The URL of the original request that caused the error |
Class defined in packages/arcgis-rest-request/src/utils/ArcGISRequestError.ts:10