Not every error make sense to retry, it would be nice to provide possibility to provide optional predicate that will check if error need to be retried or not.
Usually only transient errors worth to be retried, if error is not recoverable doesn't make to spend resources and client's time on retries.
Not every error make sense to retry, it would be nice to provide possibility to provide optional predicate that will check if error need to be retried or not.
Usually only transient errors worth to be retried, if error is not recoverable doesn't make to spend resources and client's time on retries.