original_string: protected function prepareResponse(Request $request, Exception $e)
      {
          if ($this->isHttpException($e)) {
              return $this->createResponse($this->renderHttpException($e, $request), $e);
          } else {
              return $this->createResponse($this->convertExceptionToResponse($e, $request), $e);
          }
      }
code: protected function prepareResponse(Request $request, Exception $e)
      {
          if ($this->isHttpException($e)) {
              return $this->createResponse($this->renderHttpException($e, $request), $e);
          } else {
              return $this->createResponse($this->convertExceptionToResponse($e, $request), $e);
          }
      }
code_tokens: protected function prepareResponse ( Request $ request , Exception $ e ) { if ( $ this -> isHttpException ( $ e ) ) { return $ this -> createResponse ( $ this -> renderHttpException ( $ e , $ request ) , $ e ) ; } else { return $ this -> createResponse ( $ this -> convertExceptionToResponse ( $ e , $ request ) , $ e ) ; } }
docstring: Prepare response containing exception render.
  
  @param  \Nova\Http\Request  $request
  @param  \Exception $e
  @return \Symfony\Component\HttpFoundation\Response
docstring_tokens: Prepare response containing exception render .