BusError codes that mark transient failures — safe to retry.
Deliberately a tiny standalone set (not a registry lookup): the full
ERROR_CODE_REGISTRY lives in the schema/LLM layer, which retry() consumers
must not pull into their bundles. tests/schema.test.ts asserts this set
stays in sync with the registry's retryable: true entries.
Example
if (result.errorinstanceofBusError && RETRYABLE_CODES.has(result.error.code)) { // transient — safe to re-dispatch }
BusError codes that mark transient failures — safe to retry.
Deliberately a tiny standalone set (not a registry lookup): the full ERROR_CODE_REGISTRY lives in the schema/LLM layer, which retry() consumers must not pull into their bundles. tests/schema.test.ts asserts this set stays in sync with the registry's
retryable: trueentries.