Logo
Agent Skills Guide

Global Error Handling

published 2026/01/18

Implement robust error handling with user-friendly messages, specific exception types, centralized error handling, graceful degradation, and proper resource cleanup. Use this skill when implementing try-catch blocks, error boundaries, exception handling, or error recovery logic. When working with API error responses, validation errors, or external service failures. When adding error logging, retry strategies, or fallback mechanisms. This skill applies to all code files that handle errors, exceptions, or failure scenarios in any programming language including `.js`, `.ts`, `.py`, `.rb`, `.java`, `.go`, `.php`, and others.

📦 Install Skill

Command line install

Install directly with the `skills` CLI.

npx skills add dpietersz/pietersz.me/.claude/skills/global-error-handling

Local download

Download only this skill directory.

Download Global Error Handling only
File Explorer
0 files
No file selected
readonly

Select a file to view its content