original_string: protected function removeErroredRequest(RequestInterface $request, \Exception $e = null, $buffer = true)
      {
          if ($buffer) {
              $this->exceptions[] = array('request' => $request, 'exception' => $e);
          }
  
          $this->remove($request);
          $this->dispatch(self::MULTI_EXCEPTION, array('exception' => $e, 'all_exceptions' => $this->exceptions));
      }
code: protected function removeErroredRequest(RequestInterface $request, \Exception $e = null, $buffer = true)
      {
          if ($buffer) {
              $this->exceptions[] = array('request' => $request, 'exception' => $e);
          }
  
          $this->remove($request);
          $this->dispatch(self::MULTI_EXCEPTION, array('exception' => $e, 'all_exceptions' => $this->exceptions));
      }
code_tokens: protected function removeErroredRequest ( RequestInterface $ request , \ Exception $ e = null , $ buffer = true ) { if ( $ buffer ) { $ this -> exceptions [ ] = array ( 'request' => $ request , 'exception' => $ e ) ; } $ this -> remove ( $ request ) ; $ this -> dispatch ( self :: MULTI_EXCEPTION , array ( 'exception' => $ e , 'all_exceptions' => $ this -> exceptions ) ) ; }
docstring: Remove a request that encountered an exception
  
  @param RequestInterface $request Request to remove
  @param \Exception       $e       Exception encountered
  @param bool             $buffer  Set to false to not buffer the exception
docstring_tokens: Remove a request that encountered an exception