Files
core/vendor/guzzlehttp/promises/src/AggregateException.php
T
Hide_D b306601c72 Dep: update
주로 PHAN
2021-08-06 22:39:09 +09:00

18 lines
380 B
PHP

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