luma-shangma commented on code in PR #929:
URL: 
https://github.com/apache/arrow-rs-object-store/pull/929#discussion_r4803993854


##########
src/lib.rs:
##########
@@ -2358,6 +2368,22 @@ pub enum Error {
         source: Box<dyn std::error::Error + Send + Sync + 'static>,
     },
 
+    /// Error when the object store explicitly asks the caller to reduce its
+    /// request rate and the request completes without success.
+    ///
+    /// This includes HTTP 429 and structured provider throttle responses. A
+    /// bodyless HTTP 503 remains a generic error because it carries no 
explicit
+    /// throttle signal.
+    #[error("The object store throttled the request for path {}: {}", path, 
source)]

Review Comment:
   Agreed, thanks for confirming!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to