Click any tag below to further narrow down your results
Links
The article discusses error handling strategies in software systems, particularly in cloud environments. It emphasizes that error handling should be a global property of the system rather than a local one, considering factors like failure correlation, architecture capabilities, and the potential to continue operations. The author also highlights the importance of blast radius reduction techniques.
This article critiques current error handling practices in Rust, highlighting issues like error forwarding and poor contextual information. It advocates for designing errors with purpose, emphasizing the need for clear, actionable error types for machines and rich context for human debugging.
The article discusses the complexities of error handling in software systems, emphasizing that it's not just about individual components but how they interact globally. It explores scenarios where crashing might be appropriate or where systems can continue functioning despite errors, highlighting the importance of architecture and business logic in these decisions.
Error handling in Rust commonly involves defining large error enums that may include irrelevant variants for a function's context. The author argues for a more granular approach using structs to represent individual errors and introduces a crate that simplifies error handling through macros, allowing concise definitions of error sets. Despite some verbosity, the new paradigm alleviates the burden of managing extensive error enums while retaining type safety.