Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
yii
base
ExitException
PHP Class yii\base\ExitException
Do not catch ExitException. Yii will handle this exception to terminate the application gracefully.
Since:
2.0
Author:
Qiang Xue (
[email protected]
)
Inheritance:
extends
Exception
Show file
Open project: yiisoft/yii2
Class Usage Examples
Public Properties
Property
Type
Description
$statusCode
the exit status code
Public Methods
Method
Description
__construct
(
integer
$status
,
string
$message
= null,
integer
$code
,
Exception
$previous
= null )
Constructor.
Method Details
__construct()
public
method
Constructor.
public
__construct
(
integer
$status
,
string
$message
= null,
integer
$code
,
Exception
$previous
= null )
$status
integer
the exit status code
$message
string
error message
$code
integer
error code
$previous
Exception
The previous exception used for the exception chaining.
Property Details
$statusCode
public property
the exit status code
public
$statusCode