ARKI_CLOCK_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

Legacy abort exception code; sleep now returns SleepCancelled.

Fix

Handle SleepCancelled returned from sleep.

Check the fix

bun run test

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

Where it comes from

Package
@arki/clock
Version
0.1.1 · next release candidate
Source
src/errors.ts:31