default
Hierarchy
- Error
- default
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
optionalpackageName: string
optionalfunctionName: string
optionalreason: string
Returns default
Properties
optionalcause
publicoptionalfunctionName
message
name
publicoptionalpackageName
publicoptionalreason
optionalstack
staticoptionalprepareStackTrace
Type declaration
Parameters
err: Error
stackTraces: CallSite[]
Returns any
staticstackTraceLimit
Methods
staticcaptureStackTrace
Create .stack property on a target object
Parameters
targetObject: object
optionalconstructorOpt: Function
Returns void
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces