original_string: private function handleUncaughtException(\Throwable $exception, Request $request) : Response
      {
          $httpException = new HttpInternalServerErrorException('Uncaught exception', $exception);
  
          return $this->handleHttpException($httpException, $request);
      }
code: private function handleUncaughtException(\Throwable $exception, Request $request) : Response
      {
          $httpException = new HttpInternalServerErrorException('Uncaught exception', $exception);
  
          return $this->handleHttpException($httpException, $request);
      }
code_tokens: private function handleUncaughtException ( \ Throwable $ exception , Request $ request ) : Response { $ httpException = new HttpInternalServerErrorException ( 'Uncaught exception' , $ exception ) ; return $ this -> handleHttpException ( $ httpException , $ request ) ; }
docstring: Wraps an uncaught exception in an HttpInternalServerErrorException, and converts it to a Response.
  
  @param \Throwable          $exception
  @param \Brick\Http\Request $request
  
  @return \Brick\Http\Response
docstring_tokens: Wraps an uncaught exception in an HttpInternalServerErrorException and converts it to a Response .