There is little in this world that is as satisfying as putting a really clean, understandable error hierarchy in place when you’re programming #rust.

If you haven’t read Sabrina Jewson’s “Modular Errors in Rust” yet, then do yourself a favour: sabrinajewson.org/blog/errors

#rustlang

Follow

@hds thanks for share! This was a great post. I’ve been slowly converging to the same conclusions with modular or domain based errors, so it was great to see it concisely and thoughtfully written!

Sign in to participate in the conversation
Osbar.space

Zero ads. Zero tracking. Just pure social.