News for hackers. Stuff that matters.
Re:Rust: Enums to Wrap Multiple Errors by Macha on Friday October 08, 2021 @12:06PM (#28800811)
For your logs you're going to print the error's default message anyway, so you should have the underlying message of the std::io::Error as long as it's listed in the source of your wrapped error.
Re:Rust: Enums to Wrap Multiple Errors by shepmaster on Friday October 08, 2021 @12:08PM (#28800835)
> you should have the underlying message of the std::io::Error

This is a point of debate[1] among the error-handling working group.

[1]: https://github.com/rust-lang/project-error-handling/issues/4...