PHP 클래스 yii\web\UnauthorizedHttpException

Use this exception to indicate that a client needs to authenticate or login to perform the requested action. If the client is already authenticated and is simply not allowed to perform the action, consider using a 403 ForbiddenHttpException or 404 NotFoundHttpException instead.
상속: extends HttpException
파일 보기 프로젝트 열기: yiisoft/yii2

공개 메소드들

메소드 설명
__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.