19 lines
301 B
PHP
19 lines
301 B
PHP
<?php
|
|
|
|
namespace PHPCensor\Exception\HttpException;
|
|
|
|
use PHPCensor\Exception\HttpException;
|
|
|
|
class NotAuthorizedException extends HttpException
|
|
{
|
|
/**
|
|
* @var integer
|
|
*/
|
|
protected $errorCode = 401;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $statusMessage = 'Not Authorized';
|
|
}
|