errore
Type-safe Go-style error handling for TypeScript
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install errore?โผ
Run `npx skills add remorses/errore --all -g -y` in your terminal to install the skill globally for your coding agent.
What problem does errore solve in TypeScript?โผ
It replaces thrown exceptions with errors returned as values in an Error | T union, so TypeScript forces callers to handle every failure and unhandled errors fail compilation.
How is errore different from Result types or Effect?โผ
It uses plain union types and instanceof checks instead of wrapper types or monads, so there is no unwrapping boilerplate and TypeScript narrows types automatically.
Does errore work with AI coding agents?โผ
Yes. It ships a SKILL.md file that teaches agents the errors-as-values convention, and it works in Claude Code, Cursor, and other SKILL.md-compatible agents.
Do I need to change my whole codebase to use errore?โผ
No. You convert exceptions to typed errors only at boundaries like fetch or JSON.parse using .catch() or errore.try, then use plain instanceof checks everywhere else.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core