Type Parameters

  • T = unknown
  • D = any

Hierarchy

  • AxiosError<T, D>
    • SellingPartnerApiError

Constructors

Properties

apiName?: string
apiVersion?: string
cause?: Error
code?: string
config?: InternalAxiosRequestConfig<D>
innerMessage: string
isAxiosError: boolean
message: string
name: string
request?: any
response?: AxiosResponse<T, D>
stack?: string
status?: number
toJSON: () => object
ECONNABORTED: "ECONNABORTED"
ERR_BAD_OPTION: "ERR_BAD_OPTION"
ERR_BAD_OPTION_VALUE: "ERR_BAD_OPTION_VALUE"
ERR_BAD_REQUEST: "ERR_BAD_REQUEST"
ERR_BAD_RESPONSE: "ERR_BAD_RESPONSE"
ERR_CANCELED: "ERR_CANCELED"
ERR_DEPRECATED: "ERR_DEPRECATED"
ERR_FR_TOO_MANY_REDIRECTS: "ERR_FR_TOO_MANY_REDIRECTS"
ERR_INVALID_URL: "ERR_INVALID_URL"
ERR_NETWORK: "ERR_NETWORK"
ERR_NOT_SUPPORT: "ERR_NOT_SUPPORT"
ETIMEDOUT: "ETIMEDOUT"
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void