• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/config/state.php
  • Класс: Bitrix\Crm\Config\State
  • Вызов: State::setProductLimitError
static function setProductLimitError(string $errorMessage): void
{
	global $APPLICATION;

	$error = new \CAdminException([
		[
			'text' => $errorMessage,
		]
	]);
	$APPLICATION->ThrowException($error);
}