# media-cloud-sync/1.4.1/includes/sdk/s3/GuzzleHttp/Promise/AggregateException.php

Media Cloud Sync, version 1.4.1. 16 lines.

- Page: https://pluginprobe.com/plugins/media-cloud-sync/1.4.1/code/includes/sdk/s3/GuzzleHttp/Promise/AggregateException.php
- Raw: https://pluginprobe.com/plugins/media-cloud-sync/1.4.1/raw/includes/sdk/s3/GuzzleHttp/Promise/AggregateException.php
- Modified: 2025-08-17T07:06:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/media-cloud-sync/1.4.1/code/includes/sdk/s3/GuzzleHttp/Promise/AggregateException.php#L10-L20`.

```php
<?php

declare (strict_types=1);
namespace Dudlewebs\WPMCS\s3\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)));
    }
}

```
