Метод toError

public

Сигнатура метода

public function toError(?DictionaryField $field = null): Error

Возвращает: Error

Описание

$field is for the refusals that can be about any field. The ones that can only be about the identifier name it themselves, so a caller cannot report them without it.

Параметры

1
Имя Тип По умолчанию Флаги
$field ?DictionaryField null
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Entity/Dictionary/DictionaryError.php
Расположение метода в файле
Строки 58–67

Исходный код

PHP