Your IP : 3.17.190.212


Current Path : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/rest/lib/
Upload File :
Current File : /home/bitrix/ext_www/klimatlend.ua/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
		);
	}
}
?>