Class: HTTPError

HTTPError

Represents a HTTP error from a request.

Constructor

new HTTPError()

Source:

Extends

  • Error

Members

code :number

HTTP error code returned from the request
Type:
  • number
Source:

method :string

The HTTP method used for the request
Type:
  • string
Source:

name :string

The name of the error
Type:
  • string
Source:

path :string

The path of the request relative to the HTTP endpoint
Type:
  • string
Source: