Метод withDomainCodes
Сигнатура метода
protected static function withDomainCodes(Result $result): Result
Возвращает:
Result
Описание
Gives the errors of a legacy primitive or of the update operation a code of this layer without touching their meaning: an error that already carries one is kept as it is, and a message is never rewritten. The transport reads codes and never parses messages, so a failure without a code would be a failure it cannot tell apart from any other.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$result
|
Result
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/ProductRow/Handler/AbstractProductRowCommandHandler.php
Расположение метода в файле
Строки
133–138