【发布时间】:2020-06-12 14:11:42
【问题描述】:
description: Attempt an operation multiple times if it fails due to network or server errors.
我使用 apollo-link-retry 来重试发生服务器错误(5xx)时的调用。 但是当发生 400 错误(错误请求)时,它会重试,预计只会在服务器错误中重试。 网络错误是否意味着所有客户端错误(4xx)和服务器错误(5xx)? 如何停止重试 5xx 以外的错误?
【问题讨论】:
-
问题清楚了,请重新打开。
标签: apollo apollo-client vue-apollo