Exception thrown when too many errors occur in the some() or any() methods.
- Full name:
\GuzzleHttp\Promise\AggregateException
- Parent class:
\GuzzleHttp\Promise\RejectionException
public __construct(mixed $msg, array $reasons): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$msg |
mixed | |
$reasons |
array |
public __construct(mixed $reason, string $description = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$reason |
mixed | Rejection reason. |
$description |
string | Optional description |
Returns the rejection reason.
public getReason(): mixed