$successfulRequests
$successfulRequests :
Exception thrown when transferring commands in parallel
addSuccessfulRequest(\Guzzle\Http\Message\RequestInterface $request) : self
Add to the array of successful requests
\Guzzle\Http\Message\RequestInterface | $request | Successful request |
addFailedRequest(\Guzzle\Http\Message\RequestInterface $request) : self
Add to the array of failed requests
\Guzzle\Http\Message\RequestInterface | $request | Failed request |
addFailedRequestWithException(\Guzzle\Http\Message\RequestInterface $request, \Exception $exception) : self
Add to the array of failed requests and associate with exceptions
\Guzzle\Http\Message\RequestInterface | $request | Failed request |
\Exception | $exception | Exception to add and associate with |
getExceptionForFailedRequest(\Guzzle\Http\Message\RequestInterface $request) : \Exception|null
Get the Exception that caused the given $request to fail
\Guzzle\Http\Message\RequestInterface | $request | Failed command |
containsRequest(\Guzzle\Http\Message\RequestInterface $request) : boolean
Check if the exception object contains a request
\Guzzle\Http\Message\RequestInterface | $request | Request to check |
add(\Guzzle\Common\Exception\ExceptionCollection|\Exception $e) : \Guzzle\Common\Exception\ExceptionCollection;
Add exceptions to the collection
\Guzzle\Common\Exception\ExceptionCollection|\Exception | $e | Exception to add |
fromMultiTransferException(\Guzzle\Http\Exception\MultiTransferException $e) : self
Creates a new CommandTransferException from a MultiTransferException
\Guzzle\Http\Exception\MultiTransferException | $e | Exception to base a new exception on |
addSuccessfulCommand(\Guzzle\Service\Command\CommandInterface $command) : self
Add to the array of successful commands
\Guzzle\Service\Command\CommandInterface | $command | Successful command |
addFailedCommand(\Guzzle\Service\Command\CommandInterface $command) : self
Add to the array of failed commands
\Guzzle\Service\Command\CommandInterface | $command | Failed command |
getExceptionForFailedCommand(\Guzzle\Service\Command\CommandInterface $command) : \Exception|null
Get the Exception that caused the given $command to fail
\Guzzle\Service\Command\CommandInterface | $command | Failed command |