d/rustAahmadAug 14, 2026
What's the idiomatic way to handle errors in library code vs binary code?

Libraries want thiserror-style typed errors; binaries want anyhow for context. I keep crossing the boundary awkwardly with conversion impls. Is there a cleaner seam between the two?

15
0 comments

Comments (0)