fp-ts-errors - Handle TypeScript errors with fp-ts values
Apply fp-ts Either and TaskEither patterns to represent, chain, and accumulate errors as values in TypeScript.
Tags
Updated: 2026-10-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Represent errors with Either
- Chain fallible operations
- Wrap throwing functions
- Accumulate validation errors
- Handle asynchronous errors with TaskEither
Inputs
- TypeScript code
- Error-handling requirements
- fp-ts library
Outputs
- TypeScript error-handling code
- Explicit error values
- Accumulated validation errors
Requirements
- TypeScript environment
- fp-ts dependency
