Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • AjaxError

Implements

Index

Constructors

constructor

  • new AjaxError(status: number, statusText: string, xhr: XMLHttpRequest, data?: any, headers?: Props<string>, allowedMethods?: string, allowedOrigin?: string, responseType?: string, responseURL?: string, error?: Error): AjaxError
  • Parameters

    • status: number
    • statusText: string
    • xhr: XMLHttpRequest
    • Optional data: any
    • Optional headers: Props<string>
    • Optional allowedMethods: string
    • Optional allowedOrigin: string
    • Optional responseType: string
    • Optional responseURL: string
    • Optional error: Error

    Returns AjaxError

Properties

allowedMethods

allowedMethods: string

allowedOrigin

allowedOrigin: string

cause

cause: Error

data

data: any

headers

headers: Props<string>

isAjaxError

isAjaxError: true = true

message

message: string

name

name: string

responseType

responseType: string

responseURL

responseURL: string

Optional stack

stack: string

status

status: number

statusText

statusText: string

xhr

xhr: XMLHttpRequest

Static Error

Error: ErrorConstructor

Generated using TypeDoc