Skip to main content

Class: WebRequestError

Extends

  • Error

Constructors

new WebRequestError()

new WebRequestError(status, message, request, event, data?): WebRequestError

Parameters

status: number

message: string

request: EventSource | XMLHttpRequest

event: Event

data?: ServerError

Returns

WebRequestError

Overrides

Error.constructor

Properties

data?

optional data: ServerError


event

event: Event


message

message: string

Inherited from

Error.message


name

name: string

Inherited from

Error.name


request

request: EventSource | XMLHttpRequest


stack?

optional stack: string

Inherited from

Error.stack


status

status: number

Methods

toString()

toString(): string

Returns a string representation of an object.

Returns

string