public function MultiTransferException::addFailedRequest

Add to the array of failed requests

Parameters

RequestInterface $request Failed request:

Return value

self

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Exception/MultiTransferException.php, line 47

Class

MultiTransferException
Exception encountered during a multi transfer

Namespace

Guzzle\Http\Exception

Code

public function addFailedRequest(RequestInterface $request) {
  $this->failedRequests[] = $request;
  return $this;
}