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-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-16

Capabilities

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

Source

  • Spec: SKILL.md
TypeScript
fp-ts
error handling
Either
TaskEither
validation
Represent errors as values
Wrap throwing functions
Chain fallible operations
Accumulate validation errors
TypeScript code
Error-handling requirements
fp-ts dependency
TypeScript error-handling guidance
Either-based code patterns
Validation error results