PHP Класс yii\web\ForbiddenHttpException

Use this exception when a user has been authenticated but is not allowed to perform the requested action. If the user is not authenticated, consider using a 401 UnauthorizedHttpException. If you do not want to expose authorization information to the user, it is valid to respond with a 404 NotFoundHttpException.
С версии: 2.0
Автор: Dan Schmidt ([email protected])
Наследование: extends HttpException
Показать файл Открыть проект

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

Метод Описание
__construct ( string $message = null, integer $code, Exception $previous = null ) Constructor.

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

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

Constructor.
public __construct ( string $message = null, integer $code, Exception $previous = null )
$message string error message
$code integer error code
$previous Exception The previous exception used for the exception chaining.