Метод createFailure

public static

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

public static function createFailure(SystemAiAgentErrorCode $code, ?SystemAiAgentLifecycleOutcome $outcome = null): self

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

Описание

Builds the result of an operation that was rejected.

Параметры

2
Имя Тип По умолчанию Флаги
$code SystemAiAgentErrorCode —
—
$outcome ?SystemAiAgentLifecycleOutcome null
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Public/Command/AiAgent/Result/SystemAiAgentLifecycleResult.php
Расположение метода в файле
Строки 58–72

Исходный код

PHP