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