Files
drmaterac.pl/modules/pshowsso/vendor/guzzlehttp/promises/src/AggregateException.php
2025-10-20 14:10:54 +02:00

16 lines
407 B
PHP

<?php
declare (strict_types=1);
namespace Pshowsso\Scope68f5e85e9608b\GuzzleHttp\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)));
}
}