crepererum commented on code in PR #3567:
URL: https://github.com/apache/arrow-rs/pull/3567#discussion_r1081604539


##########
arrow-flight/src/error.rs:
##########
@@ -52,7 +54,15 @@ impl std::fmt::Display for FlightError {
     }
 }
 
-impl std::error::Error for FlightError {}
+impl Error for FlightError {
+    fn source(&self) -> Option<&(dyn Error + 'static)> {
+        if let Self::ExternalError(e) = self {

Review Comment:
   I hope this never happens, but This should probably traverse further if this 
is an `ExternalError` again. Same goes for the `arrow-schema` impl.



-- 
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