error-handling-patterns
Installation
SKILL.md
Error Handling Patterns
Overview
Error handling is not only about preventing crashes. It is about deciding:
- what the user should see
- what can be retried
- what state should be preserved
- what should be logged or reported
- when the system should fail fast vs degrade gracefully
Good error handling makes failures understandable, containable, and recoverable.
Types of Errors
Different failures need different handling.