Rust Errors

Rust error handling patterns with Result, Option, thiserror, and anyhow. Use whenever implementing error types, adding error propagation with ?, choosing between panic and Result, or working with .unwrap()/.expect(). Covers library vs application error strategy, error chaining, context, and custom error types. Also use when seeing unwrap abuse or unclear error propagation in code review.

dawidpereira f3ff849 3 files · 27.7 KB Updated

File contents

dawidpereira/rust-skills/tree/main/skills/rust-errors commit f3ff849015

Frequently asked questions

npx skillmds@latest add dawidpereira/rust-errors