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

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