protected function renderExceptionContent(Exception $e)
    {
        try {
            return config('app.debug') && class_exists(Whoops::class)
                        ? $this->renderExceptionWithWhoops($e)
                        : $this->renderExceptionWithSymfony($e, config('app.debug'));
        } catch (Exception $e) {
            return $this->renderExceptionWithSymfony($e, config('app.debug'));
        }
    }
protected function renderExceptionContent(Exception $e)
    {
        try {
            return config('app.debug') && class_exists(Whoops::class)
                        ? $this->renderExceptionWithWhoops($e)
                        : $this->renderExceptionWithSymfony($e, config('app.debug'));
        } catch (Exception $e) {
            return $this->renderExceptionWithSymfony($e, config('app.debug'));
        }
    }
protected function renderExceptionContent ( Exception $ e ) { try { return config ( 'app.debug' ) && class_exists ( Whoops :: class ) ? $ this -> renderExceptionWithWhoops ( $ e ) : $ this -> renderExceptionWithSymfony ( $ e , config ( 'app.debug' ) ) ; } catch ( Exception $ e ) { return $ this -> renderExceptionWithSymfony ( $ e , config ( 'app.debug' ) ) ; } }
Get the response content for the given exception.

@param  \Exception  $e
@return string
Get the response content for the given exception .