ARKI_RESILIENCE_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
The circuit breaker is open and rejected the call.
Fix
Wait for the breaker to half-open and call again, or serve a fallback with `withFallback` while it is open.
Check the fix
cd packages/resilience && bun run testRun 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:9