Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/rest/lib/ |
Current File : /var/www/www-root/data/www/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 ); } } ?>