Designing error types that scale: thiserror, anyhow, and the architecture in between
The thiserror-vs-anyhow question is really an architecture question. Here's how to design error types that survive production — context, source chains, and the library/application boundary — from the architecture, developer, and DevOps angles.