Mercurial > hg > isophonics-drupal-site
view vendor/guzzlehttp/promises/src/AggregateException.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
line wrap: on
line source
<?php namespace GuzzleHttp\Promise; /** * Exception thrown when too many errors occur in the some() or any() methods. */ class AggregateException extends RejectionException { public function __construct($msg, array $reasons) { parent::__construct( $reasons, sprintf('%s; %d rejected promises', $msg, count($reasons)) ); } }