src/Guzzle/Http/Exception/MultiTransferException.php
public function addFailedRequestWithException(RequestInterface $request, \Exception $exception)
    {
        $this->add($exception)
             ->addFailedRequest($request)
             ->exceptionForRequest[spl_object_hash($request)] = $exception;

        return $this;
    }
public function addFailedRequestWithException(RequestInterface $request, \Exception $exception)
    {
        $this->add($exception)
             ->addFailedRequest($request)
             ->exceptionForRequest[spl_object_hash($request)] = $exception;

        return $this;
    }
public function addFailedRequestWithException ( RequestInterface $ request , \ Exception $ exception ) { $ this -> add ( $ exception ) -> addFailedRequest ( $ request ) -> exceptionForRequest [ spl_object_hash ( $ request ) ] = $ exception ; return $ this ; }
Add to the array of failed requests and associate with exceptions

@param RequestInterface $request   Failed request
@param \Exception       $exception Exception to add and associate with

@return self
Add to the array of failed requests and associate with exceptions