In addition to learning the above, I strongly recommend anyone looking into error handling in Rust to take a look at the anyhow crate. Written by one of the Rust maintainers and really makes reporting errors so much more user friendly and the like.
anyhow
Thanks for contributing, Steven Trotter.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
In addition to learning the above, I strongly recommend anyone looking into error handling in Rust to take a look at the
anyhow
crate. Written by one of the Rust maintainers and really makes reporting errors so much more user friendly and the like.Thanks for contributing, Steven Trotter.