Interface ErrorConstructor
Callable
Parameters
Constructors
constructor
Parameters
Properties
Optional prepareStackTrace
Readonly prototype
stackTraceLimit
stackTraceLimit: number
Methods
captureStackTrace
- captureStackTrace(targetObject: object, constructorOpt?: internal.Function): void
Parameters
Returns void
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces