onException

A RetryPredicate implementation that checks whether the result is a failure.

This predicate will return true for io.circul.catalyst.policy.predicate.RetryPredicate.shouldRetry if the result is a failure (i.e., an excepton is thrown), indicating a retry should be attempted.

Since

1.0.0