InBandSupersededError
A World throws InBandSupersededError (HTTP 412, code in-band-superseded) when it refuses a write made by a run's orchestrator because another invocation of the same run's orchestrator has written in-band since this one loaded the event log. It applies only to runs of the experimental spec 9 runtime (WORKFLOW_SPEC_VERSION=9).
The Workflow runtime handles this error. The refused invocation stops writing, sends the queue messages its own committed writes still owe, and asks for a redelivery of its queue message instead of acknowledging it. You will only encounter it when interacting with World storage APIs directly.
See The in-band fence on the spec 9 page.
API signature
Properties
| Name | Type | Description |
|---|---|---|
seq | number | The run's highest allocated position at the refusal, when the World reports it. Diagnostic only. |
seqInBand | number | The run's in-band position count at the refusal, when the World reports it. Diagnostic only: never adopt it. |
status | number | HTTP status: 412. |
code | string | Error code: 'in-band-superseded'. |
message | string | The error message. |
Static methods
InBandSupersededError.is(value)
Type-safe check for InBandSupersededError instances. Preferred over instanceof because it works across module boundaries and VM contexts.