Implement user-friendly error handling with specific exception types, centralized error handling, graceful degradation, and proper resource cleanup. Use this skill when implementing error handling in controllers, services, or API endpoints, when creating custom exception classes, when writing try-catch blocks, when handling external service failures, when implementing retry strategies, when displaying error messages to users, when cleaning up resources in finally blocks, or when implementing fail-fast validation and error detection.
$npx -y skills add jiaxiaojunqaq/skillject --skill global-error-handlingInstalls into the current project.
Run `npx skills use "https://github.com/jiaxiaojunqaq/skillject" --skill "jiaxiaojunqaq/skillject/global-error-handling"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/jiaxiaojunqaq/skillject" that are relevant to the current task. Run `npx skills add "https://github.com/jiaxiaojunqaq/skillject"` and select the relevant skills, then follow their instructions.