error-handling-patterns

Implement error handling patterns like circuit breakers across programming languages.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/ionmidori/SYDBioedilizia --skill error-handling-patterns-ionmidori
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-handling-patterns
Source: https://github.com/ionmidori/SYDBioedilizia/tree/main/.gemini/skills/error-handling-patterns
Command: npx skills add https://github.com/ionmidori/SYDBioedilizia --skill error-handling-patterns-ionmidori

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides strategies and patterns to build applications that can gracefully handle and recover from errors, preventing failures and ensuring a stable user experience.

Core Features & Use Cases

  • Error Handling Philosophies: Learn about 'Fail Fast' and 'Graceful Degradation'.
  • Error Categorization: Differentiate between transient, permanent, and system errors for appropriate handling.
  • Language-Specific Patterns: Examples for Python, TypeScript/JavaScript, Rust, and Go.
  • Universal Patterns: Implement Circuit Breakers, Error Aggregation, and Graceful Degradation.
  • Use Case: When designing a critical API, use this skill's patterns to ensure that temporary network issues don't bring down your entire service, and that users receive informative error messages instead of cryptic failures.

Quick Start

Implement the circuit breaker pattern to prevent cascading failures in your microservices architecture.

Frequently Asked Questions about error-handling-patterns

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

FAQPage Schema
How do I prevent cascading failures when handling errors in a microservices architecture?

You can prevent cascading failures by implementing the circuit breaker pattern, which stops repeated calls to a failing service and allows it to recover. This Skill provides strategies and code examples to build fault-tolerant microservices.

What is the best way to categorize transient vs permanent errors for fault tolerance?

Error categorization differentiates transient, permanent, and system errors to apply appropriate handling strategies. This Skill explains how to classify these errors to ensure your application recovers correctly from temporary network issues or fails permanently.

How do I implement graceful degradation and fail fast patterns in Python or TypeScript?

This Skill provides language-specific code examples for Python, TypeScript/JavaScript, Rust, and Go to implement graceful degradation and fail fast philosophies. These patterns ensure users receive informative messages instead of cryptic failures during partial system outages.

Does this error handling approach support different architectural layers in distributed systems?

Yes, the error handling patterns cover various architectural layers to build observable and resilient applications. It provides universal strategies like error aggregation and circuit breakers that apply across different system layers for comprehensive fault tolerance.

When should I use a circuit breaker vs error aggregation for application resilience?

Use circuit breakers to prevent cascading failures in microservices, and error aggregation to consolidate multiple system errors for observability. This Skill helps differentiate these universal patterns to build applications that gracefully handle and recover from failures.