We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6734787 commit 4cb4de6Copy full SHA for 4cb4de6
1 file changed
core/src/services/gcs/error.rs
@@ -58,6 +58,7 @@ pub(super) fn parse_error(resp: Response<Buffer>) -> Error {
58
StatusCode::PRECONDITION_FAILED | StatusCode::NOT_MODIFIED => {
59
(ErrorKind::ConditionNotMatch, false)
60
}
61
+ StatusCode::TOO_MANY_REQUESTS => (ErrorKind::RateLimited, true),
62
StatusCode::INTERNAL_SERVER_ERROR
63
| StatusCode::BAD_GATEWAY
64
| StatusCode::SERVICE_UNAVAILABLE
0 commit comments