Search
Preparing search index...
The search index is not available
Promise-Insist
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"presets/error-filters/axios/index"
External module "presets/error-filters/axios/index"
Index
Variables
IDEMPOTENT_
HTTP_
METHODS
RETRYABLE_
ERRORS
SAFE_
HTTP_
METHODS
Functions
is
Idempotent
is
Net
Error
is
Retryable
is
Safe
is
Server
Error
Variables
Const
IDEMPOTENT_
HTTP_
METHODS
IDEMPOTENT_
HTTP_
METHODS
:
string
[]
= SAFE_HTTP_METHODS.concat(['PUT', 'DELETE'])
Const
RETRYABLE_
ERRORS
RETRYABLE_
ERRORS
:
string
[]
= ['ETIMEDOUT','ECONNRESET','EADDRINUSE','ESOCKETTIMEDOUT','ECONNREFUSED','EPIPE']
Const
SAFE_
HTTP_
METHODS
SAFE_
HTTP_
METHODS
:
string
[]
= ['GET', 'HEAD', 'OPTIONS']
Functions
is
Idempotent
is
Idempotent
(
error
:
AxiosError
)
:
boolean
Parameters
error:
AxiosError
Returns
boolean
is
Net
Error
is
Net
Error
(
error
:
AxiosError
)
:
boolean
Parameters
error:
AxiosError
Returns
boolean
is
Retryable
is
Retryable
(
error
:
AxiosError
)
:
boolean
Parameters
error:
AxiosError
Returns
boolean
is
Safe
is
Safe
(
error
:
AxiosError
)
:
boolean
Parameters
error:
AxiosError
Returns
boolean
is
Server
Error
is
Server
Error
(
error
:
AxiosError
)
:
boolean
Parameters
error:
AxiosError
Returns
boolean
Globals
Internals
"lib/promise-
insist"
"presets/delays"
"presets/index"
Externals
"presets/error-
filters/axios/index"
"presets/error-
filters/index"
IDEMPOTENT_
HTTP_
METHODS
RETRYABLE_
ERRORS
SAFE_
HTTP_
METHODS
is
Idempotent
is
Net
Error
is
Retryable
is
Safe
is
Server
Error
Generated using
TypeDoc