Re: [I] Provide access to `context` of `iceberg::error::Error` [iceberg-rust]

2025-03-12 Thread via GitHub
jshmchenxi closed issue #1071: Provide access to `context` of `iceberg::error::Error` URL: https://github.com/apache/iceberg-rust/issues/1071 -- 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 spec

Re: [I] Provide access to `context` of `iceberg::error::Error` [iceberg-rust]

2025-03-12 Thread via GitHub
jshmchenxi commented on issue #1071: URL: https://github.com/apache/iceberg-rust/issues/1071#issuecomment-2717497588 > I believe this should be handled internally by iceberg-rust. First, we can return retryable or temporary as field in error for users to interpret. Then, we could consider a

Re: [I] Provide access to `context` of `iceberg::error::Error` [iceberg-rust]

2025-03-11 Thread via GitHub
Xuanwo commented on issue #1071: URL: https://github.com/apache/iceberg-rust/issues/1071#issuecomment-2714693408 Hi, context is not designed to be accessible to users, and if we expose it this way, we may unintentionally introduce breaking changes. > retry based on status code of REST

[I] Provide access to `context` of `iceberg::error::Error` [iceberg-rust]

2025-03-11 Thread via GitHub
jshmchenxi opened a new issue, #1071: URL: https://github.com/apache/iceberg-rust/issues/1071 ### Is your feature request related to a problem or challenge? Currently, only `kind` and `message` of `iceberg::error::Error` are accessible by users. Some users might want to handle errors