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));
    }
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));
    }
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 ) ) ; }
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
Remove a request that encountered an exception