4 ms·
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 i
by Macha 5y ago
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.
- shepmaster 5y ago> 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/44 https://github.com/rust-lang/project-error-handling/issues/4...