Class DiscoureError

Hierarchy

  • Error
    • DiscoureError

Implements

Constructors

Properties

axiosMessage?: string
axiosToJSON?: (() => object)

Type declaration

    • (): object
    • Returns object

body: unknown
code?: string
message: string

error message

name: string
request?: any
response?: AxiosResponse<unknown, any>
stack?: string
status: number

Http status code

statusText: string

Http status text

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