coder-rust-error-handling
Installation
SKILL.md
<skill_overview> Design predictable and ergonomic error handling in Rust Designing error types Propagating errors with Result Mapping errors at API boundaries Choosing between panic and Result The Rust Book - Error Handling </skill_overview> <panic_vs_result> <use_panic_when> Unrecoverable, invariant-breaking failures Bug in the program (logic error) </use_panic_when> <use_result_when> Expected errors (not found, validation) I/O or external dependency failures