Blog post: Error Handling in Rust


#1

Hi everyone! I’ve written a blog post on the subject of error handling in Rust which attempts to briefly explain the common approaches to working with the Result type in Rust to handle or else propagate errors in Rust programs. I’d greatly appreciate feedback on the post- if there’s anything I missed, could improve or add, I’d love it if you could let me know!

I should note that this post doesn’t have the goal of providing a better source of information than the Rust book’s chapter on the subject, but rather serves to provide a quick rundown of the different ways one might write code to handle Results, with some of my thoughts about each approach based on my experience sprinkled in.

Thanks!