Throw error that respects maxRequestRetries
Hello,
With RetryRequestError, the request gets retried an infinite times until it succeeds, what error should I throw to respect the maxRequestRetries?
3 Replies
@Pepa J can I kindly ask you to also help me here ?
Hi @NeoNomade I believe that there may be only exception for
RetryRequestError
so if you throw any other non children Error class that should work.
Generally throw new Error('This will increase the request.retryCount')
should be working.ok, thank you
much appreciated !