Error Handling and Fault Tolerance
CommunityPredictable error handling for Rust services.
AuthorNackalalalong
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Standardizes how Rust crates define and handle errors, enabling consistent retry logic and graceful degradation across components such as ASR, LLM, and TTS pipelines.
Core Features & Use Cases
- Error type conventions: guidelines for defining error enums and implementing ComponentError.
- Retry and fallback patterns: demonstrated strategies, including a FallbackAsrProvider and a structured retry matrix.
- Graceful degradation: describes how to respond to failures when recovery is not possible, including client-facing error codes and session termination.
Quick Start
Implement a simple ComponentError for your error type and wire a fallback provider to illustrate graceful degradation.
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: Error Handling and Fault Tolerance Download link: https://github.com/Nackalalalong/voicebot-rs/archive/main.zip#error-handling-and-fault-tolerance 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.