Closed deadtrickster closed 4 years ago
Yes. I think introducing another exception for this at this point would unfortunately be a breaking change. :/
Could we maybe introduce metadata to the existing exception? Something like [reason: :checkout_timeout]
?
That could be handy, yes!
👍 Awesome, I can prepare a PR.
@qcam ping
Hi,
When checkout timeout happens DBConnection.ConnectionError raised. However it also raised in several other places and even in tests assertion uses regex for the message: ~r"connection not available and request was dropped from queue after \d+ms".
Should I use same regex matching?