14 lines
426 B
PHP
14 lines
426 B
PHP
<?php
|
|
|
|
namespace Google\Site_Kit_Dependencies\GuzzleHttp\Promise;
|
|
|
|
/**
|
|
* Exception thrown when too many errors occur in the some() or any() methods.
|
|
*/
|
|
class AggregateException extends \Google\Site_Kit_Dependencies\GuzzleHttp\Promise\RejectionException
|
|
{
|
|
public function __construct($msg, array $reasons)
|
|
{
|
|
parent::__construct($reasons, \sprintf('%s; %d rejected promises', $msg, \count($reasons)));
|
|
}
|
|
}
|