Hierarchy

  • Error
    • GenericError

Implements

  • Code

Constructors

Properties

cause?: Error
code: ErrorCode
message: string
name: string
response: Response
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: Object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc