error-management
Installation
SKILL.md
Error Management in Effect
Overview
Effect distinguishes between two types of failures:
- Expected Errors (Recoverable) - Represented in the
Errortype parameter, tracked at compile time - Defects (Unexpected/Unrecoverable) - Runtime exceptions, bugs, not in type signature
Effect<Success, Error, Requirements>;
// ^^^^^ Expected errors live here