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

  • GuzzleException

Exceptions

  • BadMethodCallException
  • ExceptionCollection
  • InvalidArgumentException
  • RuntimeException
  • UnexpectedValueException
  • Overview
  • Namespace
  • Class
  • Tree

Class ExceptionCollection

Collection of exceptions

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

Direct known subclasses

Guzzle\Http\Exception\MultiTransferException

Indirect known subclasses

Guzzle\Service\Exception\CommandTransferException
Namespace: Guzzle\Common\Exception
Located at src/Guzzle/Common/Exception/ExceptionCollection.php
Methods summary
public
# __construct( $message = '', $code = 0, Exception $previous = null )

Overrides

Exception::__construct()
public Guzzle\Common\Exception\ExceptionCollection
# setExceptions( array $exceptions )

Set all of the exceptions

Set all of the exceptions

Parameters

$exceptions
Array of exceptions

Returns

Guzzle\Common\Exception\ExceptionCollection
public ExceptionCollection;
# add( Guzzle\Common\Exception\ExceptionCollection|Exception $e )

Add exceptions to the collection

Add exceptions to the collection

Parameters

$e
Exception to add

Returns

ExceptionCollection;
public integer
# count( )

Get the total number of request exceptions

Get the total number of request exceptions

Returns

integer

Implementation of

Countable::count()
public ArrayIterator
# getIterator( )

Allows array-like iteration over the request exceptions

Allows array-like iteration over the request exceptions

Returns

ArrayIterator

Implementation of

IteratorAggregate::getIterator()
public Exception
# getFirst( )

Get the first exception in the collection

Get the first exception in the collection

Returns

Exception
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected array $exceptions

Array of Exceptions

Array of Exceptions

# array()
Properties inherited from Exception
$code, $file, $line, $message
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen