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

Interfaces

  • HttpException

Exceptions

  • BadResponseException
  • ClientErrorResponseException
  • CouldNotRewindStreamException
  • CurlException
  • MultiTransferException
  • RequestException
  • ServerErrorResponseException
  • TooManyRedirectsException
  • Overview
  • Namespace
  • Class
  • Tree

Class MultiTransferException

Exception encountered during a multi transfer

Exception implements Throwable
Extended by Guzzle\Common\Exception\ExceptionCollection implements Guzzle\Common\Exception\GuzzleException, IteratorAggregate, Countable
Extended by Guzzle\Http\Exception\MultiTransferException

Direct known subclasses

Guzzle\Service\Exception\CommandTransferException
Namespace: Guzzle\Http\Exception
Located at src/Guzzle/Http/Exception/MultiTransferException.php
Methods summary
public array
# getAllRequests( )

Get all of the requests in the transfer

Get all of the requests in the transfer

Returns

array
public Guzzle\Http\Exception\MultiTransferException
# addSuccessfulRequest( Guzzle\Http\Message\RequestInterface $request )

Add to the array of successful requests

Add to the array of successful requests

Parameters

$request
Successful request

Returns

Guzzle\Http\Exception\MultiTransferException
public Guzzle\Http\Exception\MultiTransferException
# addFailedRequest( Guzzle\Http\Message\RequestInterface $request )

Add to the array of failed requests

Add to the array of failed requests

Parameters

$request
Failed request

Returns

Guzzle\Http\Exception\MultiTransferException
public Guzzle\Http\Exception\MultiTransferException
# addFailedRequestWithException( Guzzle\Http\Message\RequestInterface $request, Exception $exception )

Add to the array of failed requests and associate with exceptions

Add to the array of failed requests and associate with exceptions

Parameters

$request
Failed request
$exception
Exception to add and associate with

Returns

Guzzle\Http\Exception\MultiTransferException
public Exception|null
# getExceptionForFailedRequest( Guzzle\Http\Message\RequestInterface $request )

Get the Exception that caused the given $request to fail

Get the Exception that caused the given $request to fail

Parameters

$request
Failed command

Returns

Exception|null
public Guzzle\Http\Exception\MultiTransferException
# setSuccessfulRequests( array $requests )

Set all of the successful requests

Set all of the successful requests

Parameters

$requests
of requests

Returns

Guzzle\Http\Exception\MultiTransferException
public Guzzle\Http\Exception\MultiTransferException
# setFailedRequests( array $requests )

Set all of the failed requests

Set all of the failed requests

Parameters

$requests
of requests

Returns

Guzzle\Http\Exception\MultiTransferException
public array
# getSuccessfulRequests( )

Get an array of successful requests sent in the multi transfer

Get an array of successful requests sent in the multi transfer

Returns

array
public array
# getFailedRequests( )

Get an array of failed requests sent in the multi transfer

Get an array of failed requests sent in the multi transfer

Returns

array
public boolean
# containsRequest( Guzzle\Http\Message\RequestInterface $request )

Check if the exception object contains a request

Check if the exception object contains a request

Parameters

$request
Request to check

Returns

boolean
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 $successfulRequests
# array()
protected array $failedRequests
# array()
protected array $exceptionForRequest
# array()
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