error-taxonomy

Categorize application errors and define standardized handling strategies with HTTP status codes.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/hadimiftahulf/antigravity-skills --skill error-taxonomy
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: error-taxonomy
Source: https://github.com/hadimiftahulf/antigravity-skills/tree/main/error-taxonomy
Command: npx skills add https://github.com/hadimiftahulf/antigravity-skills --skill error-taxonomy

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures consistent and effective error handling across your application, preventing common pitfalls like exposing sensitive information or providing unhelpful user messages.

Core Features & Use Cases

  • Error Categorization: Classifies errors into predefined types (Validation, Authentication, Not Found, etc.) for targeted responses.
  • Consistent Strategies: Defines specific handling strategies for each error category, including appropriate HTTP status codes and user-facing messages.
  • Logging & Alerting: Emphasizes internal logging of full error details and alerts for critical infrastructure issues.
  • Use Case: When a user attempts to access a resource they don't have permission for, this skill ensures a 403 Forbidden response is returned, the attempt is logged internally, and no technical details are exposed to the user.

Quick Start

Categorize the following error scenario: a user submits a form with an invalid email format.

Frequently Asked Questions about error-taxonomy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to standardize API error handling across an application?โ–ผ

Standardizing API error handling involves categorizing application errors into predefined types like Validation or Authentication, then defining specific handling strategies with consistent HTTP status codes, user-facing messages, and internal logging for secure, auditable error management.

How do I prevent my API error messages from exposing sensitive technical details?โ–ผ

To prevent exposing sensitive details in API errors, implement standardized error boundaries that categorize exceptions and return generic, user-friendly messages externally while logging full technical error details and stack traces internally for auditing.

How do I map application exceptions to the correct HTTP status codes?โ–ผ

Mapping exceptions to HTTP status codes requires classifying errors into predefined categories, such as returning a 403 Forbidden for authorization failures or a 404 Not Found for missing resources, ensuring targeted and consistent API responses.

When should I log full error details internally versus alerting for infrastructure issues?โ–ผ

You should log full error details internally for all exceptions to maintain auditability, while triggering alerts specifically for critical infrastructure issues to ensure robust exception management and rapid response to severe system failures.

Can I use this error taxonomy approach for debugging existing try-catch blocks?โ–ผ

Yes, you can apply error taxonomy strategies to debug existing logic by categorizing caught exceptions into standardized types and enforcing consistent error boundaries, user-facing messages, and internal logging across your application.

What are the limitations of relying solely on basic try-catch blocks for exception management?โ–ผ

Relying solely on basic try-catch blocks lacks standardized error categorization and consistent handling strategies, risking unhelpful user messages, exposed sensitive information, and inadequate internal logging for critical infrastructure issues.