Update the retry context, including retry count, last error, next wait time, etc.
Update the retry context, including retry count, last error, next wait time, etc.
the next retry context
Add a partial function that accepts exceptions that need to be retried.
Set a detailed error handler upon Exception.
Set a detailed error handler upon Exception. If the given exception is not retryable, just rethrow the exception. Otherwise, consume the exception.