Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HttpError

Hierarchy

Index

Constructors

constructor

  • new HttpError(response: IncomingMessage, body: any, statusCode?: undefined | number): HttpError
  • Parameters

    • response: IncomingMessage
    • body: any
    • Optional statusCode: undefined | number

    Returns HttpError

Properties

body

body: any

message

message: string

name

name: string

response

response: IncomingMessage

Optional stack

stack: undefined | string

Optional statusCode

statusCode: undefined | number

Static Error

Error: ErrorConstructor

Generated using TypeDoc