fasthttp
fasthttp copied to clipboard
Propagate request error to RetryIfFunc
Hi may I check is it possible to change the interface for the RetryIfFunc to pass the error for better retry strategy?
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.