src/Core/Exceptions/Handler.php
protected function renderExceptionWithWhoops(Exception $e)
    {
        return tap(new Whoops(), function ($whoops) {
            $whoops->pushHandler($this->whoopsHandler());
            $whoops->writeToOutput(false);
            $whoops->allowQuit(false);
        })->handleException($e);
    }
protected function renderExceptionWithWhoops(Exception $e)
    {
        return tap(new Whoops(), function ($whoops) {
            $whoops->pushHandler($this->whoopsHandler());
            $whoops->writeToOutput(false);
            $whoops->allowQuit(false);
        })->handleException($e);
    }
protected function renderExceptionWithWhoops ( Exception $ e ) { return tap ( new Whoops ( ) , function ( $ whoops ) { $ whoops -> pushHandler ( $ this -> whoopsHandler ( ) ) ; $ whoops -> writeToOutput ( false ) ; $ whoops -> allowQuit ( false ) ; } ) -> handleException ( $ e ) ; }
Render an exception using Whoops.

@param Exception $e

@return string
Render an exception using Whoops .