CoreFiles by mySites.guru
AggregateException.php19 lines, 413 bytes, from Joomla_6.3.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 6.2.0-alpha3
md5
80b161f021843a7d2c502a4004d3d097
sha1
456d29620d929f64ffdcc7af0800cee4004cd323
sha256
c0ce339c3b78055074a0b3426ba9a45651842efa6db2beeb79ddedae39cf7105
<?php

declare(strict_types=1);

namespace 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))
        );
    }
}

The same content is in 97 releases, Joomla 5.3.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.