Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Error Handling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/adityaaatiwari-error-handling-anvil)
---
name: error-handling
description: Handle, propagate and report errors so failures are visible and recoverable
---
<!-- Generated by `anvil plugin build` from catalog/. Edit the catalog, not this file. -->
# Error Handling
- Never swallow errors; handle them where you can act, otherwise propagate with context.
- Distinguish expected failures (validation, not found) from bugs; return the former, throw/panic for the latter.
- Add timeouts and bounded retries (with backoff and jitter) only for idempotent operations.
- Log once, at the boundary, with structured context and no secrets.
- Show users actionable messages; keep stack traces for logs.