Options
All
  • Public
  • Public/Protected
  • All
Menu

Used by implementers to provide their own errors to be resolved by cusper.

Hierarchy

  • Error
    • CustomProgramError

Index

Constructors

constructor

Properties

Readonly code

code: number

message

message: string

name

name: string

Optional stack

stack?: string

Static Optional prepareStackTrace

prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc