m06-error-handling
CommunityMaster Rust error handling across crates.
Authorsimorgh3196
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides structured guidance for designing robust error handling in Rust, covering how to choose between Result, Option, and panics, how to define error types, and how to propagate and contextualize errors.
Core Features & Use Cases
- Understand error-handling strategies across library and application boundaries.
- Learn to design error types with thiserror and to add context with anyhow or std::error::Error.
- Apply patterns for error propagation, source wrapping, and user-facing messages in real-world Rust projects.
Quick Start
Refactor a failing function to use typed errors, add context, and implement a clear error path following the guidelines described in this Skill.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: m06-error-handling Download link: https://github.com/simorgh3196/tsuzulint/archive/main.zip#m06-error-handling Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.