Optional
causeOptional
detailsOptional
responseOptional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
captureCreate .stack property on a target object
Optional
constructorOpt: Function
If a plugin encounters a fatal error and verified-fetch should not continue processing the request, it should throw an instance of this class.
Note that you should be very careful when throwing a
PluginFatalError
, as it will stop the request from being processed further. If you do not have a response to return to the client, you should consider throwing aPluginError
instead.