LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

fp-errors - Handle Errors with fp-ts Values

Teaches practical TypeScript error handling with fp-ts Either and TaskEither, including chaining failures and accumulating validation errors.

Tags

Updated: 2026-10-16

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Represent errors with Either
  • Chain fallible operations
  • Accumulate validation errors
  • Wrap throwing functions safely
  • Transform success and error values

Inputs

  • TypeScript code
  • Error-handling requirements
  • Validation rules
  • Form data

Outputs

  • Either-based TypeScript code
  • TaskEither-based error flows
  • Accumulated validation errors
  • Success or failure values

Requirements

  • TypeScript environment
  • fp-ts library

Source

  • Spec: SKILL.md
fp-ts
error handling
Either
TaskEither
TypeScript
validation
Represent errors with Either
Chain fallible operations
Accumulate validation errors
Wrap throwing functions safely
TypeScript code
Error-handling requirements
Validation rules
Either-based TypeScript code
TaskEither-based error flows
Accumulated validation errors