• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/executeexception.php
  • Класс: BitrixSaleTradingPlatformVkExecuteException
  • Вызов: ExecuteException::getFullMessage
public function getFullMessage()
{
	$newMessage = Loc::getMessage("VK_ERRORS_INTRO") . "n";

	if ($this->errCode)
		$newMessage .= Loc::getMessage("VK_ERROR_CODE") . ": "" . $this->errCode . "". ";

	$newMessage .= Loc::getMessage("VK_ERROR_TEXT") . ": "" . $this->message . "".";

	if ($this->method)
		$newMessage .= " " . Loc::getMessage("VK_ERROR_IN_METHOD") . ": " . $this->method . ".";

//		only for vk api errors
	if ($this->errCode)
		$newMessage .= "n" . Loc::getMessage("VK_ERROR_ERRORS_INFO") . self::API_DESC_PAGE;

	return $newMessage;
}