tag
m06▌
2 indexed skills · max 10 per page
skills (2)
m06-error-handling
actionbook/rust-skills · Productivity
Layer 1: Language Mechanics
m06-error-handling
zhanghandong/rust-skills · Productivity
Rust error handling strategy: when to use Result, Option, panic, and which error crate. \n \n Distinguishes between expected failures (Result/Option), bugs (panic), and unrecoverable errors; includes decision flowchart and core questions to ask before choosing a strategy \n Recommends thiserror for typed library errors and anyhow for ergonomic application-level error handling; covers error propagation with ? and context attachment \n Provides quick reference for unwrap vs expect vs panic, librar