Rust Domain Error Strategy
Architects resilient Rust applications by designing structured domain error hierarchies and recovery strategies.
The m13-domain-error skill provides a comprehensive framework for managing errors within the Rust ecosystem, focusing on the critical distinction between user-facing actions and internal system failures. It guides developers through the implementation of advanced resilience patterns—such as exponential backoff retries, circuit breakers, and graceful degradation—while providing best practices for using industry-standard crates like thiserror and anyhow to maintain high-quality, debuggable code.
主な機能
01Resilience strategies including circuit breakers and fallbacks
02Implementation patterns for retries with exponential backoff
03Categorized error hierarchies for users, developers, and ops
04Best practices for context-rich logging and structured errors
05Anti-pattern identification for cleaner Rust application design
06596 GitHub stars
ユースケース
01Architecting robust error response systems for public APIs
02Implementing automated retry logic for unreliable external services
03Designing domain-specific failure recovery in fintech or high-availability systems