Class yii\base\ExitException
Inheritance | yii\base\ExitException » Exception |
---|---|
Available since version | 2.0 |
Source Code | https://github.com/yiisoft/yii2/blob/master/framework/base/ExitException.php |
ExitException represents a normal termination of an application.
Do not catch ExitException. Yii will handle this exception to terminate the application gracefully.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$statusCode | integer | The exit status code | yii\base\ExitException |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Constructor. | yii\base\ExitException |