Your IP : 18.227.46.87


Current Path : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/modules/rest/lib/
Upload File :
Current File : /var/www/www-root/data/www/info.monolith-realty.ru/bitrix/modules/rest/lib/accessexception.php

<?
namespace Bitrix\Rest;


class AccessException
	extends RestException
{
	const MESSAGE = 'Access denied!';
	const CODE = 'ACCESS_DENIED';

	public function __construct($msg = '', \Exception $previous = null)
	{
		parent::__construct(
			static::MESSAGE.($msg === '' ? '' : (' '.$msg)),
			static::CODE,
			\CRestServer::STATUS_FORBIDDEN,
			$previous
		);
	}
}
?>