Fp Errors

Encodes TypeScript failures as fp-ts Either and TaskEither values: tryCatch at throw boundaries, chain and chainW pipelines, applicative field validation, and async orElse fallbacks. Use when callers need failure in the type, multi-field validation, or structured API error codes. Not a migration playbook for imperative modules (that is fp-refactor). Do not use for Rust Result, Python exceptions, or Zod-only schemas without fp-ts.

Kayforkind fe2b7f9 18.8 KB Updated

File contents

Kayforkind/skill-slice commit fe2b7f9cdf

Frequently asked questions

npx skillmds@latest add kayforkind/fp-errors