effect-patterns-error-handling

Community

Master Error Handling with Effect-TS patterns.

AuthorPaulJPhilp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of implementing robust, domain-aware error handling in Effect-TS applications, enabling precise recovery strategies and clear error context.

Core Features & Use Cases

  • Domain-aware error types with tagged errors
  • Per-error recovery strategies and context-rich error propagation
  • Patterns for propagation, retry, and user-friendly fallbacks across network, validation, and business logic

Quick Start

  • Define custom error classes (e.g., NetworkError, ValidationError) and decide recovery strategy for each
  • Use Effect.mapError, Effect.catchTag, and Effect.catchAll to transform and recover
  • Apply retry/backoff and fallback strategies in end-to-end flows

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: effect-patterns-error-handling
Download link: https://github.com/PaulJPhilp/EffectPatterns/archive/main.zip#effect-patterns-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 223,000+ vetted skills library on demand.