protected function sendExceptionToHandler($e)
    {
        $handler = $this->resolveExceptionHandler();

        if ($e instanceof Error) {
            $e = new FatalThrowableError($e);
        }

        $handler->report($e);

        return $handler->render($this->make('request'), $e);
    }
protected function sendExceptionToHandler($e)
    {
        $handler = $this->resolveExceptionHandler();

        if ($e instanceof Error) {
            $e = new FatalThrowableError($e);
        }

        $handler->report($e);

        return $handler->render($this->make('request'), $e);
    }
protected function sendExceptionToHandler ( $ e ) { $ handler = $ this -> resolveExceptionHandler ( ) ; if ( $ e instanceof Error ) { $ e = new FatalThrowableError ( $ e ) ; } $ handler -> report ( $ e ) ; return $ handler -> render ( $ this -> make ( 'request' ) , $ e ) ; }
Send the exception to the handler and return the response.

@param  \Throwable  $e
@return Response
Send the exception to the handler and return the response .