error-handling
Installation
SKILL.md
Error Handling
Design resilient applications through intentional error handling strategies. Errors are data, not just exceptions — design them intentionally.
Quick Decision Guide
| Situation | Pattern | Reference |
|---|---|---|
| Typed error categories | Custom error classes | error-patterns.md |
| Explicit handling (no throws) | Result/Either type | error-patterns.md |
| React component crash | Error boundary | react-errors.md |
| API error response | Structured API errors | api-errors.md |
| Network calls that fail | Retry with backoff | recovery-patterns.md |
| Unreliable downstream service | Circuit breaker | recovery-patterns.md |