Skip to content

HttpError interface

Ron Buckton edited this page Jan 15, 2015 · 1 revision

An error raised during an http request

Syntax

export interface HttpError extends Error {
  httpClient: HttpClient;
  response: HttpResponse;
}

Properties

httpClient
The HttpClient that initiated the request
httpResponse
The HttpResponse for the error
name (inherited from Error)
The name of the error ("HttpError").
message (inherited from Error)
The message for the error

Requirements

  • Supported Platforms: Browser
  • Module: httpclient
  • Library: httpclient.ts

See Also

Clone this wiki locally