ARKI_FAILURE_E005
thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.
What happened
Two definitions with the same code were given where codes must be unique.
Fix
Give each definition its own code, or pass the definition only once.
Check the fix
bun run test -- src/orpc.test.tsRun it after the fix. It passes when the fix worked.
Where it comes from
- Package
- @arki/failure
- Version
- 0.2.0 · next release candidate
- Source
- src/errors.ts:45