Browse
For agents
About
Plausible Analytics
/
trunk
Plausible Analytics
vtrunk
Switch version
2.6.1
2.6.0
trunk
1.0.0
1.0.1
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
All 52 releases
Overview
Code
plausible-analytics
/
src
/
Client
/
lib
/
Lib
/
GuzzleHttp
/
Promise
/
AggregateException.php
AggregateException.php
in Plausible Analytics trunk, at src/Client/lib/Lib/GuzzleHttp/Promise/AggregateException.php
20 lines
447 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
Plausible
\
Analytics
\
WP
\
Client
\
Lib
\
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