OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add affaan-m/ecc --skill error-handling
Patterns for robust error handling across TypeScript, Python, and Go. Covers typed errors, error boundaries, retries, circuit breakers, and user-facing error messages. Use when designing error types, retries, circuit breakers, or user-facing failure messages in TypeScript, Python, or Go.
npx skills add affaan-m/ecc --skill error-handling
Consistent, robust error handling patterns for production applications.
catch block must either handle, re-throw, or logFor operations where failure is expected and common (parsing, external calls):
Map error codes to human-readable messages. Keep technical details out of user-visible text.
Before merging any code that touches error handling:
catch block handles, re-throws, or logs — no silent swallowing{ error: { code, message } }AppError with a code fieldErrorBoundary for rendering errors