Метод rollbackQuietly
Сигнатура метода
private static function rollbackQuietly(Connection $connection): void
Возвращает:
void
Описание
Takes the writes of a failed block back and lets nothing of the rollback itself leave. A rollback of a nested transaction returns the rows to its savepoint and throws afterwards. That throw is swallowed on purpose: what leaves the caller has to be the failure being compensated, and answering the throw with a second rollback would close the transaction of the caller instead of this one.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$connection
|
Connection
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentLifecycleService.php
Расположение метода в файле
Строки
1850–1859