public function AggregateException::__construct in Lockr 7.3
Parameters
mixed $reason Rejection reason.:
string $description Optional description:
Overrides RejectionException::__construct
File
- vendor/
guzzlehttp/ promises/ src/ AggregateException.php, line 9
Class
- AggregateException
- Exception thrown when too many errors occur in the some() or any() methods.
Namespace
GuzzleHttp\PromiseCode
public function __construct($msg, array $reasons) {
parent::__construct($reasons, sprintf('%s; %d rejected promises', $msg, count($reasons)));
}