You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the retry Op returns a wrapped PermanentError - the library does not recognise it as a Permanent Error (as the type cast to *PermanentError fails.
This is unexpected in my opinion. It would be more idiomatic to respect the usual Go error wrapping rules and test with errors.Is.
I'll be happy to raise a PR for this change
The text was updated successfully, but these errors were encountered:
When the retry Op returns a wrapped PermanentError - the library does not recognise it as a Permanent Error (as the type cast to *PermanentError fails.
This is unexpected in my opinion. It would be more idiomatic to respect the usual Go error wrapping rules and test with
errors.Is
.I'll be happy to raise a PR for this change
The text was updated successfully, but these errors were encountered: