class AggregateException in Zircon Profile 8
Same name in this branch
- 8 vendor/guzzlehttp/promises/src/AggregateException.php \GuzzleHttp\Promise\AggregateException
- 8 vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/AggregateException.php \Prophecy\Exception\Prediction\AggregateException
Same name and namespace in other branches
- 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
- class \GuzzleHttp\Promise\RejectionException extends \GuzzleHttp\Promise\RuntimeException
- class \GuzzleHttp\Promise\AggregateException
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\PromiseView source
class AggregateException extends RejectionException {
public function __construct($msg, array $reasons) {
parent::__construct($reasons, sprintf('%s; %d rejected promises', $msg, count($reasons)));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AggregateException:: |
public | function |
Overrides RejectionException:: |
|
RejectionException:: |
private | property | @var mixed Rejection reason. | |
RejectionException:: |
public | function | Returns the rejection reason. |