error-docs
error-docs copied to clipboard
Documentation of Rust error handling
The larger the scope of code handled by an error handler, the more fragile that code is
I'm using this issue to collect feedback from various places after initial publication
I might be worth to more clear point out that `UnwindSafe` is misleading, in that it is unrelated to `unsafe`/rust safety guarantees. I.e. your type must be rust-safe to reuse...
I want to add some case studies to the error design section. Ideas: * compiler/parser errors * a prototype library * a library with network client or something * a...
Talk about failpoints (and alternatives) in the testing section. Probably should reference the fail crate (https://docs.rs/fail/latest/fail/). I'm not actually sure failpoints are always the best solution, so this should be...
Hi @nrc! I’m reaching out to get some expert advice on the challenges we’re facing with error and warning handling in our Rust-based project, [`rustic_core`](https://github.com/rustic-rs/rustic_core/blob/main/crates/core/src/error.rs). Our project is relatively complex,...