Class ErrorResponse

Hierarchy

  • Error
    • ErrorResponse

Constructors

Properties

message: string
name: string
stack?: string
status?: number
type: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Returns { message: string; status: number; type: string }

    • message: string
    • status: number
    • type: string
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc