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.
Property | Type | Description | Defined By |
---|---|---|---|
$statusCode | integer | The exit status code | yii\base\ExitException |
Method | Description | Defined By |
---|---|---|
__construct() | Constructor. | yii\base\ExitException |
The exit status code
public integer $statusCode = null
Constructor.
public void __construct ( $status = 0, $message = null, $code = 0, 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. |
© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc-2.0/yii-base-exitexception.html