Options
All
  • Public
  • Public/Protected
  • All
Menu

Haveno error with message and code.

Hierarchy

  • Error
    • HavenoError

Index

Constructors

  • new HavenoError(msg: string, code?: number): HavenoError

Properties

cause?: Error
code: undefined | number
message: string
name: string
stack?: string
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

Generated using TypeDoc