error-management

Installation
SKILL.md

Error Management in Effect

Overview

Effect distinguishes between two types of failures:

  1. Expected Errors (Recoverable) - Represented in the Error type parameter, tracked at compile time
  2. Defects (Unexpected/Unrecoverable) - Runtime exceptions, bugs, not in type signature
Effect<Success, Error, Requirements>;
//              ^^^^^ Expected errors live here

Creating Typed Errors

Using Schema.TaggedError (Recommended)

Related skills

More from andrueandersoncs/claude-skill-effect-ts

Installs
2
GitHub Stars
8
First Seen
Mar 22, 2026