-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend RetryableException from Throwable interface #3991
Conversation
Please do the same for |
I think this can be considered as a bug, which makes this the correct branch to target. Can you also please annotate both interfaces with |
hey @greg0ire |
it seems that ExceptionConverterDriver is not meant to be a throwable interface for exceptions.
|
Let RetryableException extend from the Throwable interface to prevent errors in Psalm if catching it
Oh right, it has indeed nothing to do with exceptions, my bad. I'm closing and reopening to try to get the time sensitive test in Appveyor to pass. |
Exception interfaces have the suffix |
Thanks @mitelg ! |
nice! thank you guys for accepting 😊 👍 |
Let RetryableException extend from the Throwable interface to prevent errors in Psalm if catching RetryableException
Summary
We have some code which catches the
RetryableException
. Now Psalm complains about that catch because theRetryableException
does not implement theThrowable
interfaceThis is my first PR here. I hope I have done everything right. Looking forward for feedback 😊 👋