Files
masimmo.pl/modules/pdgoogleanalytycs4pro/vendor/guzzlehttp/promises/src/AggregateException.php
2025-10-02 16:07:12 +02:00

20 lines
414 B
PHP

<?php
declare(strict_types=1);
namespace GuzzleHttp7\Promise;
/**
* Exception thrown when too many errors occur in the some() or any() methods.
*/
class AggregateException extends RejectionException
{
public function __construct(string $msg, array $reasons)
{
parent::__construct(
$reasons,
sprintf('%s; %d rejected promises', $msg, count($reasons))
);
}
}