Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • 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
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Interfaces

  • GuzzleException

Exceptions

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

Class ExceptionCollection

Collection of exceptions

Exception
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 Guzzle/Common/Exception/ExceptionCollection.php
Methods summary
public Guzzle\Common\Exception\ExceptionCollection
# setExceptions( array $exceptions )

Set all of the exceptions

Set all of the exceptions

Parameters

$exceptions
array
$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
Guzzle\Common\Exception\ExceptionCollection|Exception
$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
__construct(), __toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected array $exceptions array()
#

Array of Exceptions

Array of Exceptions

Properties inherited from Exception
$code, $file, $line, $message
php-coveralls API documentation generated by ApiGen 2.8.0