Robust Error Handling Patterns

•
214k
•

Implements standardized error handling, custom exception hierarchies, and resilient retry logic across TypeScript, Python, and Go projects.

This skill provides a comprehensive framework for building production-grade error handling systems within the Claude Code environment. It bridges the gap between raw exceptions and professional software architecture by offering structured patterns for typed error classes, the Result pattern (no-throw style), API error normalization, and React Error Boundaries. Whether you are designing a new service or debugging cascading failures, this skill ensures your code fails gracefully, logs correctly, and provides meaningful feedback to end-users without exposing internal system details.

주요 기능

01214,448 GitHub stars
02Resilient retry logic with exponential backoff and jitter
03React Error Boundary templates for robust frontend failure states
04API error normalization for frameworks like Next.js, Express, and FastAPI
05Standardized custom exception hierarchies and typed error classes
06Multi-language support for TypeScript, Python, and Go implementations

사용 사례

01Designing a new module's exception hierarchy to replace generic string errors
02Implementing reliable retry mechanisms for flaky third-party API dependencies
03Standardizing API response envelopes to ensure consistent error formats for frontend consumers