Browse
For agents
About
AliNext – WooCommerce Dropshipping Plugin for AliExpress
/
trunk
AliNext – WooCommerce Dropshipping Plugin for AliExpress
vtrunk
Overview
Code
ali2woo-lite
/
includes
/
classes
/
exception
/
ApiException.php
ApiException.php
in AliNext – WooCommerce Dropshipping Plugin for AliExpress trunk, at includes/classes/exception/ApiException.php
18 lines
357 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
namespace
AliNext_Lite
;
;
3
4
use
Exception
;
5
use
Throwable
;
6
7
class
ApiException
extends
Exception
8
{
9
public
function
__construct
(
$
message
,
$
code
,
Throwable
$
previous
=
null
)
{
10
parent
::
__construct
(
$
message
,
$
code
,
$
previous
)
;
11
}
12
13
public
function
__toString
(
)
{
14
return
__CLASS__
.
"
: [
{
$
this
->
code
}
]:
{
$
this
->
message
}
\n
"
;
15
}
16
17
}
18