sfermanelli-error-handling
CommunityMake errors visible, recoverable, and debuggable.
Software Engineering#error handling#logging#retry#design-patterns#circuit-breaker#graceful-degradation
Authorsebafermanelli
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Design error handling that makes failures visible, recoverable, and debuggable. Errors are not exceptional — they are expected. A system that handles errors well is more valuable than one that never errors in testing.
Core Features & Use Cases
- Error hierarchies separate domain, application, and infrastructure errors to clarify responsibility and enable targeted handling.
- Error boundaries, retries, and graceful degradation to isolate failures, recover from transient issues, and preserve service availability.
- Logging and HTTP error handling to present actionable, safe error responses while supporting observability across services.
- Use Case: when a downstream service fails transiently, apply retry, circuit breaker, and structured error signaling to minimize user impact.
Quick Start
Start by defining a layered error hierarchy (DomainError, ValidationError, InfrastructureError) and wire a centralized error handler that logs, formats responses, and gracefully degrades when external services fail.
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: sfermanelli-error-handling Download link: https://github.com/sebafermanelli/sfermanelli-skills/archive/main.zip#sfermanelli-error-handling 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.