ARKI_RESILIENCE_E002

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

What happened

A timeout policy reached its deadline.

Fix

Raise `timeoutMs`, or make the operation faster. Pass the policy's `signal` to the work so it stops.

Check the fix

cd packages/resilience && bun run test

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

Where it comes from

Package
@arki/resilience
Version
0.2.0 · next release candidate
Source
src/errors.ts:16