better-result-migrate-v2
Installation
SKILL.md
better-result Migrate v2
Upgrade better-result error definitions from the v1 TaggedError API to the v2 factory-based API.
When to Use
Use this skill when the user:
- is upgrading
better-resultfrom v1 to v2 - has classes that
extend TaggedErrordirectly - still uses
TaggedError.match,TaggedError.matchPartial, orTaggedError.isTaggedError - needs help rewriting constructor calls to the new object-based form