error-handling-patterns

Provide cross-language error-handling patterns for Python, TypeScript, Rust, and Go.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/ArogyaReddy/https-github.com-wshobson-agents --skill error-handling-patterns-arogyareddy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-handling-patterns
Source: https://github.com/ArogyaReddy/https-github.com-wshobson-agents/tree/main/plugins/developer-essentials/skills/error-handling-patterns
Command: npx skills add https://github.com/ArogyaReddy/https-github.com-wshobson-agents --skill error-handling-patterns-arogyareddy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Error handling is essential for building reliable software; this Skill provides structured patterns and multilingual examples to reduce debugging time and prevent cascading failures.

Core Features & Use Cases

  • Cross-language error-handling patterns for Python, TypeScript, Rust, and Go.
  • Practical guidance including custom exceptions, Result/Option types, retries, and graceful degradation.
  • Use cases span API design, data processing pipelines, and resilient services, with examples illustrating how to wrap external service failures and propagate rich context.

Quick Start

Start by implementing the recommended error-handling patterns in a small module to observe immediate reliability improvements.

Frequently Asked Questions about error-handling-patterns

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

FAQPage Schema
What are the best cross-language error handling patterns for building fault-tolerant APIs?

Effective cross-language error handling patterns include custom exceptions, Result/Option types, circuit breakers, and graceful degradation. They prevent cascading failures by wrapping external service issues and propagating rich context across Python, TypeScript, Rust, and Go.

How do I implement retry logic and circuit breaker patterns in Python and Go services?

Implement retry logic and circuit breakers in Python and Go by applying structured error-handling patterns that manage transient failures and prevent cascading service disruptions. These techniques improve reliability during feature development and API design.

When should I use Result and Option types for exception handling in Rust and TypeScript?

Use Result and Option types for exception handling in Rust and TypeScript to achieve explicit, type-safe error management without relying on exceptions. This structured approach improves software reliability and reduces debugging time in data processing pipelines.

Does this error-handling guidance support graceful degradation for data processing pipelines?

Yes, this error-handling guidance supports graceful degradation for data processing pipelines. It provides multilingual examples and best practices to wrap external service failures, ensuring fault-tolerant services maintain reliability and prevent cascading failures.

How do I start applying cross-language error handling patterns to an existing software module?

Start applying cross-language error handling patterns by implementing recommended techniques in a small module. This approach yields immediate reliability improvements and reduces debugging time by structuring exception management and fault-tolerant logic early.