bakalarska_praca/database/vendor/guzzlehttp/promises/src/AggregateException.php
2023-05-11 21:57:12 +02:00

18 lines
380 B
PHP
Executable File

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