ExitException
extends Exception
in package
ExitException represents a normal termination of an application.
Do not catch ExitException. Yii will handle this exception to terminate the application gracefully.
Tags
Table of Contents
Properties
- $statusCode : int
Methods
- __construct() : mixed
- Constructor.
Properties
$statusCode
public
int
$statusCode
the exit status code
Methods
__construct()
Constructor.
public
__construct([int $status = 0 ][, string $message = null ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $status : int = 0
-
the exit status code
- $message : string = null
-
error message
- $code : int = 0
-
error code
- $previous : Throwable|null = null
-
The previous exception used for the exception chaining.