Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • export=

Index

Constructors

constructor

  • new export=(error: AxiosError<any>): export=
  • new export=(message: string, error: AxiosError<any>): export=
  • new export=(message: string, error: Pick<AxiosError<any>, "config" | "request" | "response">): export=
  • example
    new AxiosError(errorThrownByAxios)
    

    Parameters

    • error: AxiosError<any>

    Returns export=

  • example
    new AxiosError('error message', errorThrownByAxios)
    

    Parameters

    • message: string
    • error: AxiosError<any>

    Returns export=

  • example
    new AxiosError('error message', { config, request, response })
    

    Parameters

    • message: string
    • error: Pick<AxiosError<any>, "config" | "request" | "response">

    Returns export=

Properties

config

config: AxiosRequestConfig

Optional request

request?: any

Optional response

response?: AxiosResponse<any>

Optional status

status?: number

Methods

[custom]

  • [custom](): string

Generated using TypeDoc