• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/controller/errorcode.php
  • Класс: Bitrix\Crm\Controller\ErrorCode
  • Вызов: ErrorCode::getAccessDeniedError
static function getAccessDeniedError(): Error
{
	static::loadMessages();

	return new Error(
		Loc::getMessage('CRM_COMMON_ERROR_ACCESS_DENIED'),
		static::ACCESS_DENIED
	);
}