Skip to main content
Back to registry

error-handling-patterns

wshobson/agents

Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.

Installs5
Install command
npx skills add https://github.com/wshobson/agents --skill error-handling-patterns
Security audits
Gen Agent Trust HubPASS
SocketFAIL
SnykPASS
About this skill
Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences. Exceptions vs Result Types: When to Use Each: Recoverable Errors: Unrecoverable Errors: Custom Exception Hierarchy: Context Managers for Cleanup: Retry with Exponential Backoff: Custom Error Classes: Result Type Pattern: Async Error Handling: Result and Option Types: Explicit Error Returns: Prevent cascading failures in distributed systems. Collect multiple errors instead of failing on first error. Provide fallback functionality when errors occur. - Implementing error handling in new features - Designing error-resilient APIs - Debugging production issues - Improving application reliability - Creating better error messages for users and developers - Implementing retry and circuit breaker patterns - Handling async/concurrent errors - Building fault-tolerant distributed systems - Exceptions : Traditional try-catch, disrupts control flow - Result Types : Explicit success/failure, functional approach - Error Codes : C-style, requires discipline - Option/Maybe Types : For nullable values - Exceptions: Unexpected errors, exceptional conditions - Result Types: Expected errors, validation failures - Panics/Crashes: Unrecoverable errors, programming bugs - Network timeouts - Missing files - Invalid user input - API rate limits - Out of memory -...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does error-handling-patterns do?

Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.

Is error-handling-patterns good?

error-handling-patterns does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does error-handling-patterns work with?

error-handling-patterns currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to error-handling-patterns?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install error-handling-patterns?

npx skills add https://github.com/wshobson/agents --skill error-handling-patterns

Related skills

More from wshobson/agents

Related skills

Alternatives in Software Engineering