Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TypeError
    • default

Index

Constructors

constructor

  • new default(message?: string): default
  • Parameters

    • Optional message: string

    Returns default

Properties

message

message: string

name

name: string

Optional prepareStackTrace

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

Optional override for formatting stack traces

see

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Optional stack

stack: undefined | string

stackTraceLimit

stackTraceLimit: number

Methods

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