LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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

Capabilities

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

Source

  • Spec: SKILL.md

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
error handling
Either
TaskEither
TypeScript
validation
practical
Model errors as values
Create Either results
Chain fallible operations
Accumulate validation errors
TypeScript functions
Validation rules
Error types
TypeScript error-handling code
Either results
Accumulated validation errors