Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HTTPError

Hierarchy

  • Error
    • HTTPError

Index

Constructors

  • new HTTPError(httpMessage: IncomingMessage, method: string, url: URL): HTTPError
  • Parameters

    • httpMessage: IncomingMessage
    • method: string
    • url: URL

    Returns HTTPError

Properties

headers: IncomingHttpHeaders
method: string
path: string
statusCode: number

Accessors

  • get statusMessage(): undefined | string

Generated using TypeDoc