/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Messenger/Exception/RecoverableExceptionInterface.php
30 строк
915 B
Vincent Langlet
[Messenger] Allow to respect retry strategy with RecoverableMessageHandlingException #61936
12 май 2026, 13:29
12 май 2026, 13:29
cfe08f0
Код
Авторство
О чём код?
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Messenger\Exception; /** * Marker interface for exceptions to indicate that handling a message should have worked. * * If something goes wrong while handling a message that's received from a transport * and the message should be retried, a handler can throw such an exception. * * @author Jérémy Derussé <jeremy@derusse.com> * * @method bool forceRetry() Whether the worker should retry even when the max retry count has been reached */ interface RecoverableExceptionInterface extends \Throwable { /** * Returns the time to wait before potentially retrying, in millisecond. */ public function getRetryDelay(): ?int; }