You are here

class AggregateException in Lockr 7.3

Exception thrown when too many errors occur in the some() or any() methods.

Hierarchy

Expanded class hierarchy of AggregateException

File

vendor/guzzlehttp/promises/src/AggregateException.php, line 7

Namespace

GuzzleHttp\Promise
View source
class AggregateException extends RejectionException {
  public function __construct($msg, array $reasons) {
    parent::__construct($reasons, sprintf('%s; %d rejected promises', $msg, count($reasons)));
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AggregateException::__construct public function Overrides RejectionException::__construct
RejectionException::$reason private property @var mixed Rejection reason.
RejectionException::getReason public function Returns the rejection reason.