LogoClawIndex
CasesSkillsAbout
LogoClawIndex

fp-errors - Handle TypeScript errors with fp-ts

Teach practical TypeScript error handling with fp-ts Either, TaskEither, validation, and error accumulation.

Tags

Updated: 2026-10-16

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Replace exceptions with values
  • Chain fallible operations
  • Accumulate validation errors
  • Convert throwing functions safely
  • Handle synchronous errors
  • Handle asynchronous errors

Inputs

  • TypeScript source code
  • Error-handling requirements
  • Validation rules
  • Domain error types
  • Asynchronous operation definitions

Outputs

  • Either results
  • TaskEither workflows
  • Accumulated validation errors
  • Typed error contracts
  • Error-handling code patterns

Requirements

  • TypeScript environment
  • fp-ts library
  • TaskEither support for asynchronous workflows

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
Replace exceptions with values
Chain fallible operations
Accumulate validation errors
Convert throwing functions safely
TypeScript source code
Error-handling requirements
Validation rules
Either results
TaskEither workflows
Accumulated validation errors