Error Handling Patterns

Designs robust, production-grade error handling — choosing between result types and exceptions, implementing retries with exponential backoff and jitter, applying timeouts and deadlines, adding circuit breakers, and building graceful degradation and fallbacks. Use this skill when writing or reviewing code that calls networks/databases/external APIs, when asked to "make this resilient", "add retry logic", "handle failures", "add timeouts", "handle errors properly", "make this fault tolerant", "add a circuit breaker", "stop swallowing exceptions", or when classifying errors as transient vs permanent and deciding what to retry, fail fast, or degrade.

JayRHa Updated 12 repo stars
Jannik Reinhard — I help enterprises ship secure AI agents

File contents

JayRHa/AgentSkills commit 9862fc81ea

Frequently asked questions

npx get-skill add jayrha/error-handling-patterns