BootstrapErrorResponder
final class BootstrapErrorResponder (View source)
Shapes an unhandled throwable into an HTTP response for the front controller.
This is the last line of defence in index.php, so handle() must never throw: the two fallible operations it performs, reading configuration and rendering the 404 page, are individually guarded.
Methods
Details
__construct(ConfigurationInterface $config, Closure|null $notFoundRenderer = null)
No description
void
handle(Throwable $e)
No description