• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/orm/data/result.php
  • Класс: Bitrix\Main\ORM\Data\Result
  • Вызов: Result::__destruct
public function __destruct()
{
	if (!$this->isSuccess && !$this->wereErrorsChecked)
	{
		// nobody interested in my errors :(
		// make a warning (usually it should be written in log)
		trigger_error(join('; ', $this->getErrorMessages()), E_USER_WARNING);
	}
}