2 namespace GuzzleHttp\Promise;
5 * Exception thrown when too many errors occur in the some() or any() methods.
7 class AggregateException extends RejectionException
9 public function __construct($msg, array $reasons)
13 sprintf('%s; %d rejected promises', $msg, count($reasons))