Options to retry bad requests
response data type
Maximum number of attempts to request
Returns a number in milliseconds (or a promise) to wait before the next attempt. If the function returns false, it will prevent all further attempts.
current attempt number
error object
Options to retry bad requests