ArcGISAuthError
Extends
Constructors
Constructor Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
message Optional | string | "AUTHENTICATION_ERROR" |
The error message from the API |
code Optional | string | number | "AUTHENTICATION_ERROR_CODE" |
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 of the request |
Properties
Property | Type | Notes |
---|---|---|
Inherited | string | number |
The error code returned from the request. |
Inherited | string |
Formatted error message. See the |
Inherited | string |
The name of this error. Will always be |
Inherited | IRequestOptions |
The options of the original request that caused the error |
Inherited | string |
The errror message return from the request. |
Inherited | any |
The original JSON response the caused the error. |
Inherited | string |
The URL of the original request that caused the error |
Methods
retry
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
getSession Required | IRetryAuthError | ||
retryLimit Optional | number | 3 |
Returns
Promise<Object>
Class defined in packages/arcgis-rest-request/src/request.ts:49