convention-error-handling

Community

Standardize error handling for reliability.

AuthorsunLeee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Convention-driven error handling provides a scalable, standardized approach to manage exceptions, retries, and resilience across software systems.

Core Features & Use Cases

  • Formal exception hierarchy with a root ApplicationError and specialized errors (ValidationError, DatabaseError, NetworkError, ConfigurationError, TimeoutError, FatalError)
  • Retry strategies with exponential backoff to avoid cascading failures
  • Circuit breaker pattern to fail-fast on repeated external service failures
  • Structured logging and observability guidelines for traceability
  • Guidance for graceful degradation and consistent recovery across APIs, services, and background tasks
  • Governance and testing practices to ensure uniform error handling across teams

Quick Start

Integrate the predefined exception hierarchy, retry policies, and circuit-breaker patterns into your codebase to begin applying standardized error handling.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: convention-error-handling
Download link: https://github.com/sunLeee/optimization/archive/main.zip#convention-error-handling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.