global-error-handling - Global Error Handling
Implement robust error handling with user-friendly messages, fail-fast validation, centralized error boundaries, and proper resource cleanup.
Tags
Updated: 2026-09-10Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Implement try-catch blocks
- Create custom exceptions
- Implement error boundaries
- Handle API errors
- Validate user input
- Implement retry strategies
- Create error middleware
- Manage resource cleanup
- Implement graceful degradation
- Log errors
Inputs
- Error handling code
- User input
- API error responses
- External service failures
Outputs
- Error messages
- Custom exception types
- Error middleware
- Error logs
Requirements
- Claude Code
