CriticalError
Hierarchy
- NonRetryableError
- CriticalError
Index
Constructors
Properties
Methods
Constructors
externalconstructor
Parameters
externaloptionalmessage: string
Returns CriticalError
Properties
externaloptionalinheritedcause
externalinheritedmessage
externalinheritedname
externaloptionalinheritedstack
staticexternaloptionalinheritedprepareStackTrace
Optional override for formatting stack traces
Type declaration
Parameters
externalerr: Error
externalstackTraces: CallSite[]
Returns any
staticexternalinheritedstackTraceLimit
Methods
staticexternalinheritedcaptureStackTrace
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