BugenZhao opened a new pull request, #5439: URL: https://github.com/apache/arrow-rs/pull/5439
# Which issue does this PR close? Closes #5438. # Rationale for this change Check the issue for the motivation. Also update the `source` implementation to make it consistent with the changes on `Display`. - If there's a prompt ahead of formatting the inner error, provide it as a source error. This is similar to `#[source]` or `#[from]` in `thiserror`. - If there's no prompt but we directly forward the method to the inner error, also forward the `source` method. This is similar to `#[transparent]` in `thiserror`. # What changes are included in this PR? <!-- There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR. --> # Are there any user-facing changes? The description and source of `ArrowError` and `FlightError` get updated. <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!--- If there are any breaking changes to public APIs, please add the `breaking change` label. --> -- 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