PHP Класс Prado\Exceptions\THttpException

THttpException represents an exception that is caused by invalid operations of end-users. The {@link getStatusCode StatusCode} gives the type of HTTP error. It is used by {@link TErrorHandler} to provide different error output to users.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Наследование: extends TSystemException
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $statusCode, $errorMessage ) Constructor.
getStatusCode ( ) : integer

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( $statusCode, $errorMessage )

getStatusCode() публичный Метод

public getStatusCode ( ) : integer
Результат integer HTTP status code, such as 404, 500, etc.