home/categories/architecture-patterns/florianriquelme-statamic-assets-claude-skills-global-error-handling-skill-md
architecture-patternsdevelopment

global-error-handling

Implement robust error handling with user-friendly messages without technical details, fail fast with explicit error messages, specific exception types for targeted handling, centralized error handling at appropriate boundaries, graceful degradation for non-critical failures, retry strategies with exponential backoff, and proper resource cleanup. Use this skill when implementing try-catch blocks, throwing or catching exceptions, handling API errors, implementing retry logic, managing resources that need cleanup, creating error messages for users, or establishing centralized error handling strategies. This skill applies when working on any code that needs error handling including API integrations, database operations, file operations, or user-facing features.

FlorianRiquelme
maintainer
FlorianRiquelme
Actualizado 10/31/2025
Estrellas
0
Forks
0
quick start

Installation and usage

Implement robust error handling with user-friendly messages without technical details, fail fast with explicit error messages, specific exception types for targeted handling, centralized error handling at appropriate boundaries, graceful degradation for non-critical failures, retry strategies with exponential backoff, and proper resource cleanup. Use this skill when implementing try-catch blocks, throwing or catching exceptions, handling API errors, implementing retry logic, managing resources that need cleanup, creating error messages for users, or establishing centralized error handling strategies. This skill applies when working on any code that needs error handling including API integrations, database operations, file operations, or user-facing features.

Instalación
$ install --globalskills.sh
Uso

Después de instalarlo, puedes usar este skill ejecutando el siguiente comando en tu terminal:

skills use global-error-handling