Skip to content

Commit

Permalink
Merge pull request #3991 from mitelg/extend-retryable-exception
Browse files Browse the repository at this point in the history
Extend RetryableException from Throwable interface
  • Loading branch information
greg0ire authored May 9, 2020
2 parents f20ba14 + 6bf6976 commit e3c9a8f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/Doctrine/DBAL/Exception/RetryableException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

namespace Doctrine\DBAL\Exception;

use Throwable;

/**
* Marker interface for all exceptions where retrying the transaction makes sense.
*
* @psalm-immutable
*/
interface RetryableException
interface RetryableException extends Throwable
{
}

0 comments on commit e3c9a8f

Please sign in to comment.