CriticalError
Hierarchy
- NonRetryableError
- CriticalError
Index
Constructors
Properties
Methods
Constructors
externalconstructor
Parameters
externaloptionalmessage: string
Returns CriticalError
Properties
externaloptionalcause
externalmessage
externalname
externaloptionalstack
staticexternaloptionalprepareStackTrace
Optional override for formatting stack traces
Type declaration
Parameters
externalerr: Error
externalstackTraces: CallSite[]
Returns any
staticexternalstackTraceLimit
Methods
staticexternalcaptureStackTrace
Create .stack property on a target object
Parameters
externaltargetObject: object
externaloptionalconstructorOpt: Function
Returns void
Errors of
CriticalError
type will shut down the whole crawler. Error handlers catching CriticalError should avoid logging it, as it will be logged by Node.js itself at the end