Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Exceptions

  • CommandException
  • CommandTransferException
  • DescriptionBuilderException
  • InconsistentClientTransferException
  • ResponseClassException
  • ServiceBuilderException
  • ServiceNotFoundException
  • ValidationException
  • Overview
  • Namespace
  • Class
  • Tree

Class CommandTransferException

Exception thrown when transferring commands in parallel

Exception implements Throwable
Extended by Guzzle\Common\Exception\ExceptionCollection implements Guzzle\Common\Exception\GuzzleException, IteratorAggregate, Countable
Extended by Guzzle\Http\Exception\MultiTransferException
Extended by Guzzle\Service\Exception\CommandTransferException
Namespace: Guzzle\Service\Exception
Located at src/Guzzle/Service/Exception/CommandTransferException.php
Methods summary
public static Guzzle\Service\Exception\CommandTransferException
# fromMultiTransferException( Guzzle\Http\Exception\MultiTransferException $e )

Creates a new CommandTransferException from a MultiTransferException

Creates a new CommandTransferException from a MultiTransferException

Parameters

$e
Exception to base a new exception on

Returns

Guzzle\Service\Exception\CommandTransferException
public array
# getAllCommands( )

Get all of the commands in the transfer

Get all of the commands in the transfer

Returns

array
public Guzzle\Service\Exception\CommandTransferException
# addSuccessfulCommand( Guzzle\Service\Command\CommandInterface $command )

Add to the array of successful commands

Add to the array of successful commands

Parameters

$command
Successful command

Returns

Guzzle\Service\Exception\CommandTransferException
public Guzzle\Service\Exception\CommandTransferException
# addFailedCommand( Guzzle\Service\Command\CommandInterface $command )

Add to the array of failed commands

Add to the array of failed commands

Parameters

$command
Failed command

Returns

Guzzle\Service\Exception\CommandTransferException
public array
# getSuccessfulCommands( )

Get an array of successful commands

Get an array of successful commands

Returns

array
public array
# getFailedCommands( )

Get an array of failed commands

Get an array of failed commands

Returns

array
public Exception|null
# getExceptionForFailedCommand( Guzzle\Service\Command\CommandInterface $command )

Get the Exception that caused the given $command to fail

Get the Exception that caused the given $command to fail

Parameters

$command
Failed command

Returns

Exception|null
Methods inherited from Guzzle\Http\Exception\MultiTransferException
addFailedRequest(), addFailedRequestWithException(), addSuccessfulRequest(), containsRequest(), getAllRequests(), getExceptionForFailedRequest(), getFailedRequests(), getSuccessfulRequests(), setFailedRequests(), setSuccessfulRequests()
Methods inherited from Guzzle\Common\Exception\ExceptionCollection
__construct(), add(), count(), getFirst(), getIterator(), setExceptions()
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected array $successfulCommands
# array()
protected array $failedCommands
# array()
Properties inherited from Guzzle\Http\Exception\MultiTransferException
$exceptionForRequest, $failedRequests, $successfulRequests
Properties inherited from Guzzle\Common\Exception\ExceptionCollection
$exceptions
Properties inherited from Exception
$code, $file, $line, $message
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen