Thrown when retry gives up, either because maxAttempts was reached
or because retryIf rejected an error.
Unlike a re-thrown error this keeps the entire attempt history, so a caller
can inspect every failure rather than only the last. The triggering error is
also available as cause for ordinary error handling.
Thrown when retry gives up, either because
maxAttemptswas reached or becauseretryIfrejected an error.Unlike a re-thrown error this keeps the entire attempt history, so a caller can inspect every failure rather than only the last. The triggering error is also available as
causefor ordinary error handling.