Robust Error Handling Patterns

•
81
•

Implements industry-standard error handling patterns across multiple programming languages to build resilient and fault-tolerant applications.

This skill equips Claude with advanced knowledge of error handling philosophies and implementation patterns for Python, TypeScript, Rust, and Go. It enables the AI to move beyond simple try-catch blocks by implementing sophisticated strategies like Result types, custom exception hierarchies, circuit breakers, and exponential backoff. Whether you are designing resilient APIs or debugging complex production failures, this skill ensures your code handles edge cases gracefully, improves observability through informative error messages, and prevents cascading failures in distributed systems using modern architecture patterns.

主要功能

0181 GitHub stars
02Language-specific patterns for Python, TypeScript, Rust, and Go
03Implementation of advanced patterns like Circuit Breakers and Exponential Backoff
04Best practices for graceful degradation and building fault-tolerant systems
05Guidance on choosing between Exceptions, Result types, and Option types
06Strategies for designing structured and informative custom error hierarchies

使用场景

01Implementing retry mechanisms for flaky external service integrations
02Designing resilient API error responses and validation logic
03Refactoring legacy code to use modern, type-safe error propagation