Метод createError

public

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

public function createError(): Error

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

Описание

Builds the public error of this code. The error carries the description and the code only: custom data would be the one place where values of the caller could leak into a public contract.

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

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

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

Исходный код

PHP