3 ms·
Surprised no one has mentioned the color-eyre[0] crate yet, which gives very nicely formatted errors with stacktraces if desired. The author gave a great talk
by mplanchard 6y ago
Surprised no one has mentioned the color-eyre[0] crate yet, which gives very nicely formatted errors with stacktraces if desired.
The author gave a great talk about error handling at this year’s rust conf[1].
[0]: https://docs.rs/color-eyre/0.5.4/color_eyre/ https://docs.rs/color-eyre/0.5.4/color_eyre/
[1]: https://m.youtube.com/watch?v=rAF8mLI0naQ https://m.youtube.com/watch?v=rAF8mLI0naQ