effect-error-handling
Installation
SKILL.md
Effect Error Handling
Master type-safe error handling in Effect applications. This skill covers expected errors, error recovery, selective error handling, and error transformations using Effect's error management operators.
Expected Errors vs Defects
Effect distinguishes between two types of failures:
- Expected Errors (E channel): Recoverable errors tracked in the type system
- Defects: Unexpected failures (bugs, programming errors)
import { Effect } from "effect"