LogoClawIndex
CasesSkillsAbout
LogoClawIndex

errore - Use Go-style error unions in TypeScript

Applies errore conventions for returning errors as Error | T unions instead of throwing expected failures.

Tags

Updated: 2026-10-08
TypeScripterror handlingexception handlingtyped errorscontrol flow

Capabilities

Return errors as valuesDefine tagged domain errorsConvert boundary exceptionsFlatten error control flow

Typical Inputs

TypeScript source codeError-handling requirementsRepository conventions

Typical Outputs

TypeScript source filesError union return typesTagged error definitions

What this skill does

  • Return errors as values
  • Define tagged domain errors
  • Convert boundary exceptions
  • Flatten error control flow
  • Handle abort errors

Inputs

  • TypeScript source code
  • Error-handling requirements
  • Repository conventions

Outputs

  • TypeScript source files
  • Error union return types
  • Tagged error definitions

Requirements

  • TypeScript project
  • errore package

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.