Extend RetryableException from Throwable interface

Let RetryableException extend from the Throwable interface to prevent errors in Psalm if catching it
parent f20ba141
......@@ -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
{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment