[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/promises/src/ -> AggregateException.php (source)

   1  <?php
   2  
   3  namespace GuzzleHttp\Promise;
   4  
   5  /**
   6   * Exception thrown when too many errors occur in the some() or any() methods.
   7   */
   8  class AggregateException extends RejectionException
   9  {
  10      public function __construct($msg, array $reasons)
  11      {
  12          parent::__construct(
  13              $reasons,
  14              sprintf('%s; %d rejected promises', $msg, count($reasons))
  15          );
  16      }
  17  }


Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1