Rust Error Handling

Use when designing error types, choosing thiserror vs anyhow, propagating errors with ?, writing Result/Option combinators, or asking how to handle errors in a Rust project. Covers library vs application strategy, structured error enums, error context/chaining, when to panic, and bail!/ensure! macros.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/joshuadavidthomas--agentkit--rust-error-handling commit 8181c4d684

Frequently asked questions

npx skillmds@latest add tomevault-io/rust-error-handling-7