source: externals/php/vendor/guzzlehttp/promises/src/AggregateException.php@ 9b1e043

Last change on this file since 9b1e043 was 01a620f, checked in by Joachim Langenbach <joachim.langenbach@…>, 11 years ago

Removed submodules for php externals and use composer to provide them and versioned them afterwards

  • Property mode set to 100644
File size: 379 bytes
RevLine 
[01a620f]1<?php
2namespace GuzzleHttp\Promise;
3
4/**
5 * Exception thrown when too many errors occur in the some() or any() methods.
6 */
7class AggregateException extends RejectionException
8{
9 public function __construct($msg, array $reasons)
10 {
11 parent::__construct(
12 $reasons,
13 sprintf('%s; %d rejected promises', $msg, count($reasons))
14 );
15 }
16}
Note: See TracBrowser for help on using the repository browser.