update
This commit is contained in:
15
modules/pshowsso/vendor/guzzlehttp/promises/src/AggregateException.php
vendored
Normal file
15
modules/pshowsso/vendor/guzzlehttp/promises/src/AggregateException.php
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user