Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ErrorConstructor

Hierarchy

  • ErrorConstructor

Callable

  • Parameters

    • Optional message: string

    Returns <internal>.Error

Index

Constructors

constructor

  • Parameters

    • Optional message: string

    Returns <internal>.Error

Properties

Optional prepareStackTrace

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

Type declaration

Readonly prototype

prototype: <internal>.Error

stackTraceLimit

stackTraceLimit: number

Methods

captureStackTrace

  • Create .stack property on a target object

    Parameters

    Returns void

Generated using TypeDoc