HumHub Documentation (unofficial)

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
author

Qiang Xue qiang.xue@gmail.com

since
2.0

Table of Contents

Properties

$statusCode  : int

Methods

__construct()  : mixed
Constructor.

Properties

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.


        
On this page

Search results