ARKI_RESILIENCE_PLUGIN_E001

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

What happened

`for` or `run` got a name that is not in the presets (only reachable from untyped JS).

Fix

Use a name you passed to `definePresets(...)`. Types catch this in TypeScript.

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/dot.ts:48