Class RequestFailureError

请求失败错误

Hierarchy

  • Error
    • RequestFailureError

Constructors

  • Parameters

    • error: string

      错误原因

    • response: ApiResponse

      响应数据

    Returns RequestFailureError

Properties

message: string
name: string
response: ApiResponse

响应数据

stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc