Skip to content
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

Propagate request error to RetryIfFunc #1744

Open
TAYTS opened this issue Apr 1, 2024 · 1 comment
Open

Propagate request error to RetryIfFunc #1744

TAYTS opened this issue Apr 1, 2024 · 1 comment

Comments

@TAYTS
Copy link

TAYTS commented Apr 1, 2024

Hi may I check is it possible to change the interface for the RetryIfFunc to pass the error for better retry strategy?

@erikdubbelboer
Copy link
Collaborator

There is no way to do this without breaking backwards compatibility. Maybe it would work if next to RetryIf we added a RetryIfErr. A pull request to try that out would be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants