What problem does it solve?
This Skill prevents application crashes, data loss, and user frustration caused by poor error handling. It ensures robust, user-friendly error management, maintaining system stability and providing clear, actionable feedback to users, even during unexpected failures.
Core Features & Use Cases
- User-Friendly Messages: Provide clear, specific, and actionable feedback to end-users.
- Specific Exception Types: Use precise exception types for better debugging and targeted recovery.
- Resource Cleanup: Ensure proper release of resources (e.g., file handles, database connections) in all scenarios.
- Use Case: When an external payment gateway API call fails, use this skill to implement a retry mechanism with a fallback, and if it still fails, display a user-friendly message instead of a generic server error, guiding the user on next steps.
Quick Start
Implement robust error handling for the attached API endpoint, ensuring all potential failures return clear, specific error messages to the client.