What problem does it solve?
Provides a consistent, production-ready approach to capturing, classifying, and responding to runtime errors so systems remain observable, debuggable, and resilient under failure.
Core Features & Use Cases
- Error Taxonomy & Mapping: Define error categories, severity levels, and mapping from internal errors to user-facing messages.
- Structured Logging & Correlation: JSON-formatted logs with correlation IDs and redaction guidelines for safe aggregation and debugging.
- Resilience Patterns: Retry strategies with exponential backoff and jitter, circuit breaker implementation, and graceful degradation/fallbacks.
- Observability Integration: Hooks for error tracking services (Sentry), contextual tagging, and alerts for operational visibility.
- Use Case: Harden an API client that intermittently fails by adding retries for transient errors, a circuit breaker to avoid overload, structured logs for incident triage, and user-friendly error responses.
Quick Start
Use the error-handling skill to design and implement structured logging, retries with exponential backoff, and a circuit breaker for an unreliable external API.