Skip to content
Back to skills

Handling Global Errors

ASecurity

Unified strategy for catching and displaying API and network errors. Use throughout the application logic.

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 9, 2026
toolsapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill handling-global-errors --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Handling Global Errors?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Handling Global Errors
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-handling-global-errors/badge)](https://www.skillsdirectory.com/skills/majiayu000-handling-global-errors)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: handling-global-errors
description: Unified strategy for catching and displaying API and network errors. Use throughout the application logic.
---

# Global Error Handling System

## When to use this skill
- Wrapping server actions.
- Client-side API calls.
- Handling 404/500 pages.

## Workflow
- [ ] Use `try-catch` blocks.
- [ ] Parse Appwrite errors (code 401, 404, etc.).
- [ ] Trigger Toast notification with user-friendly message.
- [ ] Log technical errors to a service (optional).

## Instructions
- **User Friendly**: Never show "Internal Server Error" to a user; show "Something went wrong on our end, please try again."
- **Specifics**: Distinguish between "Wrong Password" and "Server Unreachable".

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.