Hierarchy

  • Error
    • HTTPError

Constructors

Properties

cause?: unknown
headers: IncomingHttpHeaders
message: string
method: string
name: string
path: string
stack?: string
statusCode: number
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Accessors

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void