tustvold commented on code in PR #6194: URL: https://github.com/apache/arrow-rs/pull/6194#discussion_r1709078403
########## object_store/src/lib.rs: ########## @@ -1274,6 +1274,21 @@ pub enum Error { #[snafu(display("Operation not yet implemented."))] NotImplemented, + #[snafu(display( + "The operation lacked the necessary privileges to complete for path {}: {}", + path, + source + ))] + PermissionDenied { + path: String, + source: Box<dyn std::error::Error + Send + Sync + 'static>, + }, + + #[snafu(display("The operation lacked valid authentication credentials: {}", source))] + Unauthenticated { + source: Box<dyn std::error::Error + Send + Sync + 'static>, Review Comment: Is there a reason to omit Path here? -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org