-
Notifications
You must be signed in to change notification settings - Fork 50
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
#onGiveUp #75
Comments
I'm not clear on what you're asking for here. What is the benefit of "a different exception", where would it come from? |
Here's the Polly counterpart I wrote for C# .NET:
|
I see. Currenly this library doesn't have anything analogous to that, and |
Thanks, mate. My workaround is to handle the BlinkPendingException in the catch block and do the revocation from there. |
Hey guys,
Can #onGiveUp throw a different exception? For example, the #execute will keep running while hitting a pending exception but when max attempts have been breached, the #onGiveUp will invoke another API call before throwing a different exception. Am I missing something?
The text was updated successfully, but these errors were encountered: