effect-patterns-error-management

Community

Master Effect-TS error handling patterns.

AuthorPaulJPhilp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a curated set of Effect-TS error management patterns, enabling type-safe, declarative handling of failures, recoveries, and resilience across complex pipelines.

Core Features & Use Cases

  • Typed error modeling with tagged errors and ADTs.
  • Comprehensive error handlers: catchAll, catchTag, catchTags, and matchTag/matchTags for precise recovery.
  • Error normalization and mapping with mapError to preserve architectural boundaries.
  • Declarative retry and timeout control via Schedule, retry, and timeout.
  • Structured logging and observable failure analysis for robust debugging.
  • Use cases span Effect-TS workflows involving Option, Either, and domain errors, including retry scenarios and graceful degradation.

Quick Start

Try a simple scenario: fetch a user, trigger NotFoundError, recover with a default user using catchTag, and log the result.

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-management
Download link: https://github.com/PaulJPhilp/EffectPatterns/archive/main.zip#effect-patterns-error-management

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.