Autarky\Errors\DefaultErrorHandler::handleWithWhoops PHP Method

handleWithWhoops() protected method

protected handleWithWhoops ( Exception $exception )
$exception Exception
    protected function handleWithWhoops(Exception $exception)
    {
        $whoops = new Run();
        $whoops->allowQuit(false);
        $whoops->writeToOutput(false);
        $whoops->pushHandler(new PrettyPageHandler());
        return $whoops->handleException($exception);
    }