PluginProbe
Authorizer / 3.13.0
Authorizer v3.13.0
3.16.0 3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 All 127 releases
authorizer / vendor / guzzlehttp / promises / src / AggregateException.php

AggregateException.php in Authorizer 3.13.0, at vendor/guzzlehttp/promises/src/AggregateException.php

20 lines 413 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare(strict_types=1);
4
5 namespace GuzzleHttp\Promise;
6
7 /**
8 * Exception thrown when too many errors occur in the some() or any() methods.
9 */
10 class AggregateException extends RejectionException
11 {
12 public function __construct(string $msg, array $reasons)
13 {
14 parent::__construct(
15 $reasons,
16 sprintf('%s; %d rejected promises', $msg, count($reasons))
17 );
18 }
19 }
20