Error Handling Patterns
Implements standardized, robust error handling systems across TypeScript, Python, and Go environments.
This skill provides Claude with a comprehensive set of production-grade error handling patterns, enabling the creation of resilient applications that fail gracefully and predictably. It offers standardized implementations for typed error hierarchies, result patterns (no-throw style), API-specific error handlers, and React error boundaries. By emphasizing core principles like 'fail fast' and the strict distinction between developer-facing logs and user-facing messages, it helps developers build more maintainable systems while preventing common pitfalls like silent error swallowing and unmanaged cascading failures.
Key Features
01214,597 GitHub stars
02Advanced retry logic with exponential backoff and jitter
03Framework-specific handlers for FastAPI, Express, and Next.js
04Standardized typed error hierarchies for TypeScript, Python, and Go
05React Error Boundary implementations for frontend stability
06Structured 'Result' pattern for functional, no-throw error handling
Use Cases
01Designing a resilient API architecture with clear, documented error contracts
02Implementing retry mechanisms and circuit breakers for unstable external dependencies
03Refactoring legacy codebases to eliminate silent errors and improve system observability