PHP Classes

File: application/modules/extensions/aws/GuzzleHttp/Promise/AggregateException.php

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   application/modules/extensions/aws/GuzzleHttp/Promise/AggregateException.php   Download  
File: application/modules/extensions/aws/GuzzleHttp/Promise/AggregateException.php
Role: Application script
Content type: text/plain
Description: Application script
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 8 years ago
Size: 379 bytes
 

Contents

Class file image Download
<?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))
        );
    }
}