• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/ebay/feed/data/processors/results.php
  • Класс: BitrixSaleTradingPlatformEbayFeedDataProcessorsResults
  • Вызов: Results::getErrorsString
protected function getErrorsString($errors)
{
	if(!is_array($errors) || empty($errors))
		return "";

	reset($errors);

	if(key($errors) !== 0)
		$errors = array( 0 => $errors);

	$result = "";

	foreach($errors as $error)
		$result .= "Error: ".$error["Message"]." (error code:  ".$error["Code"].").n";

	return $result;
}