2016-04-12 19:31:39 +02:00
|
|
|
<?php
|
|
|
|
|
2018-03-04 11:14:09 +01:00
|
|
|
namespace PHPCensor\Exception\HttpException;
|
2016-04-21 19:05:32 +02:00
|
|
|
|
2018-03-04 11:14:09 +01:00
|
|
|
use PHPCensor\Exception\HttpException;
|
2016-04-12 19:31:39 +02:00
|
|
|
|
|
|
|
class NotAuthorizedException extends HttpException
|
|
|
|
{
|
2017-11-05 15:48:36 +01:00
|
|
|
/**
|
|
|
|
* @var integer
|
|
|
|
*/
|
|
|
|
protected $errorCode = 401;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2016-04-21 19:05:32 +02:00
|
|
|
protected $statusMessage = 'Not Authorized';
|
|
|
|
}
|