Метод buildErrorResponse
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
11–17
~/bitrix/modulestasks/lib/rest/controllers/trait/errorresponsetrait.php
Исходный код
Сигнатура метода
protected function buildErrorResponse(string $message = '', int $code = 0): mixed
Возвращает:
mixed
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$message
|
string
|
''
|
-
|
$code
|
int
|
0
|
-
|