• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/logger.php
  • Класс: BitrixSaleTradingPlatformVkLogger
  • Вызов: Logger::createItemErrorString
private function createItemErrorString($item, $errCode)
{
	$errorsDescriptions = $this->getErrorsDescriptions();
	
	if (array_key_exists($errCode, $errorsDescriptions) && array_key_exists('ITEMS_TYPE', $errorsDescriptions[$errCode]))
	{
		return self::createItemErrorStringByType($item, $errorsDescriptions[$errCode]['ITEMS_TYPE']);
	}

//		if error have format without items - just item ID - for unknown errors
	else
	{
		return $item;
	}
}