Rust Error Design

Design or refactor Rust error types — choose between thiserror (libraries) and anyhow (applications), eliminate Box<dyn Error> and Result<T, String>, and wire up `?` with proper context. Use when the user asks to design an error enum, refactor error handling, fix `Box<dyn Error>` leaking through a public API, or convert `.map_err(|e| format!(...))` chains. Do NOT use for general Rust review (use rust-review). Use when this capability is needed.

tomevault-io 91286ba 2 files · 6.9 KB Updated

File contents

tomevault-io/skills-registry/tree/main/outsideorbit--vaulpner--rust-error-design commit 91286bae4d

Frequently asked questions

npx skillmds@latest add tomevault-io/rust-error-design