# UpdateVesselConflict
Source: https://docs.maelstrom-ai.co/0.2/reference/react/type-aliases/updatevesselconflict/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

> **UpdateVesselConflict** = { `code`: `"variant_dropped"`; `instanceId`: `InstanceId`; `message`: `string`; `variant`: `VariantName`; `vesselId`: `VesselId`; } | { `code`: `"action_dropped"`; `instanceId`: `InstanceId`; `message`: `string`; `missingActionNames`: readonly `ActionName`\[\]; `variant`: `VariantName`; `vesselId`: `VesselId`; } | { `code`: `"batch_in_flight"`; `message`: `string`; `vesselId`: `VesselId`; }

Defined in: packages/react/src/lib/vessel-entry-types.ts:182

The recoverable reason a republish did not commit — returned as data by `m.updateVessel()` / `handle.update()`, never thrown.

`'variant_dropped'` and `'action_dropped'` are ordinary, user-triggerable states, not programmer mistakes — for example a `detail` variant that only exists while its record does, and the user just deleted that record. `'batch_in_flight'` means a command batch was already queued or executing when the republish was attempted: CommandProcessor applies `set_layout` / `execute_actions` through an async queue, so the instance snapshot a conflict scan would read from is not yet trustworthy — that in-flight batch could still land an instance on a variant the republish is about to drop.

Branch on `code`, not on `message` text, which this package is free to reword.
