Browse
For agents
About
Gmail SMTP
/
trunk
Gmail SMTP
vtrunk
Switch version
1.2.3.21
1.2.3.20
trunk
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.9
1.2.0
1.2.3.14
1.2.3.15
1.2.3.16
1.2.3.18
1.2.3.5
Overview
Code
gmail-smtp
/
google-api-php-client
/
vendor
/
guzzlehttp
/
promises
/
src
/
AggregateException.php
AggregateException.php
in Gmail SMTP trunk, at google-api-php-client/vendor/guzzlehttp/promises/src/AggregateException.php
20 lines
413 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
3
declare
(
strict_types
=
1
)
;
4
5
namespace
GuzzleHttp
\
Promise
;
6
7
/**
8
* Exception thrown when too many errors occur in the some() or any() methods.
9
*/
10
class
AggregateException
extends
RejectionException
11
{
12
public
function
__construct
(
string
$
msg
,
array
$
reasons
)
13
{
14
parent
::
__construct
(
15
$
reasons
,
16
sprintf
(
'
%s; %d rejected promises
'
,
$
msg
,
count
(
$
reasons
)
)
17
)
;
18
}
19
}
20