• Модуль: mobile
  • Путь к файлу: ~/bitrix/modules/mobile/lib/UI/DetailCard/Controller.php
  • Класс: BitrixMobileUIDetailCardController
  • Вызов: Controller::getCriticalErrors
protected function getCriticalErrors(): array
{
	return array_filter(
		$this->getErrors(),
		static function ($error) {
			$customData = $error->getCustomData();

			return !(
				isset($customData[self::NON_CRITICAL_ERROR_DATA_KEY])
				&& $customData[self::NON_CRITICAL_ERROR_DATA_KEY] === true
			);
		}
	);
}