Autarky\Errors\ErrorHandlerManager::handleUncaught PHP Метод

handleUncaught() публичный Метод

Handle an uncaught exception. Does the same as handle(), but also sends the response, as we can assume that the exception happened outside of HttpKernelInterface::handle.
public handleUncaught ( Exception $exception ) : Response
$exception Exception
Результат Symfony\Component\HttpFoundation\Response
    public function handleUncaught(Exception $exception)
    {
        if (PHP_SAPI === 'cli') {
            throw $exception;
        }
        return $this->handle($exception)->send();
    }