Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HTTPError

HTTPError is used when a request does not respond successfully.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new HTTPError(code: number, message: string, res: IncomingMessage): HTTPError

Properties

code

code: number

message

message: string

Static message

message: string

Static name

name: string

Static Optional stack

stack: string

Methods

cause

  • cause(): IncomingMessage

Static Protected setProto

Generated using TypeDoc