# Global Error Handling

> Implement robust error handling with user-friendly messages, specific exception types, centralized error boundaries, and graceful degradation strategies. Use this skill when implementing error handling logic in any part of the application. When writing try-catch blocks, error boundaries, or exception handlers. When validating input and failing fast with clear error messages. When handling API errors, network failures, or external service timeouts. When implementing retry strategies with exponential backoff. When ensuring resources are properly cleaned up in finally blocks. When displaying error messages to users without exposing technical details. This skill applies to all error handling across frontend and backend code. Use when this capability is needed.

- Skill: `tomevault-io/global-error-handling` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/global-error-handling`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/global-error-handling/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/global-error-handling

---


# Global Error Handling

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle global error handling.

## When to use this skill

- When implementing error handling logic in any application code
- When writing try-catch blocks or error boundaries in components
- When handling API errors, network failures, or timeout scenarios
- When validating input and failing fast with explicit error messages
- When implementing retry strategies with exponential backoff for transient failures
- When cleaning up resources (file handles, connections, locks) in finally blocks
- When using specific exception types rather than generic error classes
- When designing systems with graceful degradation for non-critical service failures
- When centralizing error handling at controller, API, or component boundaries
- When displaying user-friendly error messages without exposing security information

## Instructions

For details, refer to the information provided in this file:
[global error handling](../../../agent-os/standards/global/error-handling.md)

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/coreyja) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

