# Rust Error Handling

> Guide for Rust error handling. Use when working with Result, Option, the ? operator, or implementing custom error types. Use when this capability is needed.

- Skill: `tomevault-io/rust-error-handling-5` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/rust-error-handling-5`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/rust-error-handling-5/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/rust-error-handling-5

---


# Rust Error Handling

Result, Option, error propagation, and custom error types.

## When to Use This Skill

Activate when:
- Returning and handling Result types
- Working with Option for optional values
- Using the ? operator for error propagation
- Implementing custom error types with Display and From

For Result, Option, ? operator, and custom error type patterns, see `references/error-handling.md`.

---
> Source: [vinnie357/claude-skills](https://github.com/vinnie357/claude-skills) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-16 -->

