Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

code: string = 'invalid_request'
headers: { WWW-Authenticate: string } = ...

Type declaration

  • WWW-Authenticate: string
message: string
name: string
stack?: string
status: number = 400
statusCode: number = 400
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void