Properties
Optional
cause
cause?: unknown
Optional
code
code?: string
config
isAxiosError
isAxiosError: boolean
Optional
request
request?: any
Optional
response
Optional
stack
stack?: string
Optional
status
status?: string
toJSON
toJSON: (() => object)
Type declaration
-
- (): object
-
Returns object
Static
Readonly
ECONNABORTED
ECONNABORTED: "ECONNABORTED" = "ECONNABORTED"
Static
Readonly
ERR_BAD_OPTION
ERR_BAD_OPTION: "ERR_BAD_OPTION" = "ERR_BAD_OPTION"
Static
Readonly
ERR_BAD_OPTION_VALUE
ERR_BAD_OPTION_VALUE: "ERR_BAD_OPTION_VALUE" = "ERR_BAD_OPTION_VALUE"
Static
Readonly
ERR_BAD_REQUEST
ERR_BAD_REQUEST: "ERR_BAD_REQUEST" = "ERR_BAD_REQUEST"
Static
Readonly
ERR_BAD_RESPONSE
ERR_BAD_RESPONSE: "ERR_BAD_RESPONSE" = "ERR_BAD_RESPONSE"
Static
Readonly
ERR_CANCELED
ERR_CANCELED: "ERR_CANCELED" = "ERR_CANCELED"
Static
Readonly
ERR_DEPRECATED
ERR_DEPRECATED: "ERR_DEPRECATED" = "ERR_DEPRECATED"
Static
Readonly
ERR_FR_TOO_MANY_REDIRECTS
ERR_FR_TOO_MANY_REDIRECTS: "ERR_FR_TOO_MANY_REDIRECTS" = "ERR_FR_TOO_MANY_REDIRECTS"
Static
Readonly
ERR_NETWORK
ERR_NETWORK: "ERR_NETWORK" = "ERR_NETWORK"
Static
Readonly
ETIMEDOUT
ETIMEDOUT: "ETIMEDOUT" = "ETIMEDOUT"
Static
Optional
prepareStackTrace
prepareStackTrace?: ((err, stackTraces) => any)
Type declaration
-
- (err, stackTraces): any
-
Parameters
-
err: Error
-
stackTraces: CallSite[]
Returns any
Static
stackTraceLimit
stackTraceLimit: number
Optional override for formatting stack traces