WireShutdown::setFatalError()
Set shutdown fatal error
Used only for index version >= 302
Available since version 3.0.253.
Usage
// basic usage
$wireShutdown->setFatalError(\Throwable $e);
// usage with all arguments
$wireShutdown->setFatalError(\Throwable $e, string $message = '');
Arguments
Name | Type(s) | Description |
---|---|---|
$e | \Throwable | |
$message (optional) | string |
WireShutdown methods and properties
API reference based on ProcessWire core version 3.0.252