# Error Handling

> Implement comprehensive error handling: Use when maintaining consistent code style. Style category skill.

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

---


# Error Handling

Implement comprehensive error handling:
- Wrap async operations in try/catch
- Provide meaningful error messages for debugging
- Log errors appropriately with context
- Fail gracefully with fallbacks where possible
- Never swallow errors silently
