API 参考 / @142vip/axios / AxiosError
接口: AxiosError<T, D>
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:496
theme_extends
Error
类型参数
T
T = unknown
D
D = any
属性
cause?
optionalcause?:Error
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:512
重写了
Error.cause
code?
optionalcode?:string
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:506
config?
optionalconfig?:InternalAxiosRequestConfig<D>
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:505
event?
optionalevent?:any
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:513
isAxiosError
isAxiosError:
boolean
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:509
message
message:
string
定义于: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
继承自
Error.message
name
name:
string
定义于: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
继承自
Error.name
request?
optionalrequest?:any
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:507
response?
optionalresponse?:AxiosResponse<T,D, { }>
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:508
stack?
optionalstack?:string
定义于: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
继承自
Error.stack
status?
optionalstatus?:number
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:510
toJSON
toJSON: () =>
object
定义于: node_modules/.pnpm/axios@1.17.0/node_modules/axios/index.d.ts:511
返回
object