You are here

class AggregateException in Zircon Profile 8

Same name in this branch
  1. 8 vendor/guzzlehttp/promises/src/AggregateException.php \GuzzleHttp\Promise\AggregateException
  2. 8 vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/AggregateException.php \Prophecy\Exception\Prediction\AggregateException
Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/promises/src/AggregateException.php \GuzzleHttp\Promise\AggregateException

Exception thrown when too many errors occur in the some() or any() methods.

Hierarchy

Expanded class hierarchy of AggregateException

1 file declares its use of AggregateException
AggregateExceptionTest.php in vendor/guzzlehttp/promises/tests/AggregateExceptionTest.php

File

vendor/guzzlehttp/promises/src/AggregateException.php, line 7

Namespace

GuzzleHttp\Promise
View source
class AggregateException extends RejectionException {
  public function __construct($msg, array $reasons) {
    parent::__construct($reasons, sprintf('%s; %d rejected promises', $msg, count($reasons)));
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AggregateException::__construct public function Overrides RejectionException::__construct
RejectionException::$reason private property @var mixed Rejection reason.
RejectionException::getReason public function Returns the rejection reason.