Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 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
}