Browse
For agents
About
Metricool – Social media and site statistics
/
trunk
Metricool – Social media and site statistics
vtrunk
Switch version
2.1.0
2.0.2
2.0.1
2.0.0
1.27
trunk
Overview
Code
metricool
/
app
/
Features
/
Onboarding
/
Exceptions
/
CreateAccountException.php
CreateAccountException.php
in Metricool – Social media and site statistics trunk, at app/Features/Onboarding/Exceptions/CreateAccountException.php
21 lines
414 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
namespace
Metricool
\
Features
\
Onboarding
\
Exceptions
;
4
5
class
CreateAccountException
extends
\
RuntimeException
6
{
7
public
?
string
$
reason
;
8
9
public
function
__construct
(
string
$
message
,
?
string
$
reason
=
null
,
int
$
code
=
500
)
10
{
11
parent
::
__construct
(
$
message
,
$
code
)
;
12
13
$
this
->
reason
=
$
reason
;
14
}
15
16
public
function
getReason
(
)
:
?
string
17
{
18
return
$
this
->
reason
;
19
}
20
}
21