cashew-labs/libretto/errore
errore is Go-style error handling for TypeScript: return errors instead of throwing them. Instead of Go's two-value tuple (val, err), functions return a single Error | T union. Instead of checking err != nil, you check instanceof Error. TypeScript narrows the type automatically — forget to check and your code won't compile. No wrapper types, no Result monads, just unions and instanceof. The errore npm package provides helper utilities (createTaggedError, tryAsync, matchError, findCause, partitio
Agent skill · version 0.6.45 · from cashew-labs/libretto
Install
npx yarkr-cli add skill:cashew-labs/libretto/erroreWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:cashew-labs/libretto/errore
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:cashew-labs/libretto/erroreOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:cashew-labs/libretto/erroreWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.