fp-errors - Handle TypeScript errors with fp-ts Either
Teaches practical error handling with fp-ts Either and TaskEither by representing errors as values instead of throwing exceptions.
Tags
Updated: 2026-10-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Model errors as values
- Create Either results
- Chain fallible operations
- Accumulate validation errors
- Wrap throwing functions
Inputs
- TypeScript functions
- Validation rules
- Error types
Outputs
- TypeScript error-handling code
- Either results
- Accumulated validation errors
Requirements
- TypeScript support
- fp-ts library
