yii\base\ExitException - Yii2 类参考手册
Class yii\base\ExitException
Inheritance | yii\base\ExitException » Exception |
---|---|
Available since version | 2.0 |
ExitException represents a normal termination of an application.
Do not catch ExitException. Yii will handle this exception to terminate the application gracefully.
Public Properties
隐藏继承的属性 Hide inherited properties
属性Property | 类型 Type | 简介 Description | 定义在 Defined By |
---|---|---|---|
$statusCode | integer | The exit status code | yii\base\ExitException |
Public Methods
隐藏继承的方法 Hide inherited methods
方法 Method | 简介 Description | 定义在 Defined By |
---|---|---|
__construct() | Constructor. | yii\base\ExitException |