ARKI_FAILURE_E008

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

What happened

An `invariant` condition was falsy, so code relied on something that is not true.

Fix

Find the caller that broke the assumption and fix it; do not catch this error.

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:66