Closed usb248 closed 5 years ago
-
Something like this : httpRetry($http, { retries: 2, retryDelay: httpRetry.exponentialDelay, retryCondition : function(err){ return err.status >= 400 && err.data.hasOwnProperty('retry') && err.data.retry } })
Okey, https://http.nuxtjs.org/api/#retry Sorry, i will close this issue
What problem does this feature solve?
-
What does the proposed changes look like?
Something like this : httpRetry($http, { retries: 2, retryDelay: httpRetry.exponentialDelay, retryCondition : function(err){ return err.status >= 400 && err.data.hasOwnProperty('retry') && err.data.retry } })