ARKI_LOG_E004

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

What happened

`fakeLog()` ran while another fake was active, or `configure()` ran while a fake owns the instance.

Fix

Restore the active fake first with `restore()` or `using`. Keep one fake at a time.

Check the fix

bun run test -- src/testing/fake.test.ts

Run it after the fix. It passes when the fix worked.

Where it comes from

Package
@arki/log
Version
0.3.0 · next release candidate
Source
src/core/errors.ts:34