ARKI_FAILURE_E003

thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.

What happened

`match` met a failure code it has no handler for. The types stop this, so it happens only when they were bypassed.

Fix

Add a handler for the code to `match`, or fix the cast that hid it from the compiler.

Check the fix

bun run test -- src/handle.test.ts

Run 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:31