Options
All
  • Public
  • Public/Protected
  • All
Menu
export
interface

TxiosError

param

请求对象配置

param

错误代码

param

XMLHttpRequest 对象实例

param

自定义响应对象

param

是否是 Txios Error

extends

{Error}

description

这个是为了丰富对外提供的错误信息而设计出来的接口 主要用于外部使用

export
class

TxiosError

extends

{Error}

description

实现 TxiosError 类,继承于 Error 类

Hierarchy

  • Error
  • Error
    • TxiosError

Index

Constructors

constructor

Properties

Error

Error: ErrorConstructor

Optional code

code: string | null

config

isTxiosError

isTxiosError: boolean

message

message: string

name

name: string

Optional request

request: any

Optional response

response: TxiosResponse

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc