https://swr.vercel.app/docs/error-handling#error-retry First part of the implementation in https://github.com/Kong/swrv/issues/53