class AggregateException
Same name in this branch
- 11.1.x vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/AggregateException.php \Prophecy\Exception\Prediction\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 extends \GuzzleHttp\Promise\RejectionException
Expanded class hierarchy of AggregateException
File
-
vendor/
guzzlehttp/ promises/ src/ AggregateException.php, line 10
Namespace
GuzzleHttp\PromiseView source
class AggregateException extends RejectionException {
public function __construct(string $msg, array $reasons) {
parent::__construct($reasons, sprintf('%s; %d rejected promises', $msg, count($reasons)));
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
AggregateException::__construct | public | function | Overrides RejectionException::__construct | |
RejectionException::$reason | private | property | @var mixed Rejection reason. | |
RejectionException::getReason | public | function | Returns the rejection reason. |