m06-error-handling - Error Handling
Provides guidelines and patterns for Rust error handling using Result, Option, panic, anyhow, and thiserror.
Tags
Updated: 2026-09-14Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Select error handling strategies
- Distinguish panic from Result
- Choose thiserror or anyhow
- Propagate errors with question mark
- Add context to errors
Inputs
- Error handling context
- Library or application code type
- Failure scenario details
Outputs
- Error handling strategy recommendations
- Error crate selection advice
