# wordpress-seo/18.9/vendor_prefixed/guzzlehttp/promises/src/AggregateException.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 18.9. 15 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/18.9/code/vendor_prefixed/guzzlehttp/promises/src/AggregateException.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/18.9/raw/vendor_prefixed/guzzlehttp/promises/src/AggregateException.php
- Modified: 2019-02-12T09:31:20+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/wordpress-seo/18.9/code/vendor_prefixed/guzzlehttp/promises/src/AggregateException.php#L10-L20`.

```php
<?php

namespace YoastSEO_Vendor\GuzzleHttp\Promise;

/**
 * Exception thrown when too many errors occur in the some() or any() methods.
 */
class AggregateException extends \YoastSEO_Vendor\GuzzleHttp\Promise\RejectionException
{
    public function __construct($msg, array $reasons)
    {
        parent::__construct($reasons, \sprintf('%s; %d rejected promises', $msg, \count($reasons)));
    }
}

```
