Number of retries depending on the type of error
Opened this issue · 0 comments
astoff commented
I would like to compute number of retries dynamically, depending on details about the error. I guess this can be done by setting retries
to a large number and then throwing an error in the retryDelay
function but I'm not sure about the implications.
Do you have a recommendation? (Do / don't do that, what is a suitable error, etc.)