oont-contents/plugins/google-site-kit/third-party/guzzlehttp/promises/src/AggregateException.php
2025-02-08 15:10:23 +01:00

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)));
}
}