Ergonomic errors in Rust: write fast, debug with ease, handle precisely
Ergonomic errors in Rust: write fast, debug with ease, handle precisely Errors show up in three distinct contexts: when you’re writing code, when you’re debugging code, and at runtime when the program needs to handle recoverable errors. And errors are consumed by two distinct consumers with different needs: the developer debugging an application, and the caller making error handling decisions at runtime. In this post, we’ll explore how stackerror is designed to make working in all three contex