Skip to content

ExpectedVersionMismatch

Class: warmhub.ExpectedVersionMismatch

ExpectedVersionMismatch(reason: Literal['expected_version_mismatch'], expected_version: int, current_version: int, extra: JsonMapping = _empty(), raw: JsonMapping = _empty())

Optimistic-concurrency precondition failed (#3624).

as_dict()

The exact server payload as a plain, mutable, serializable dict.

Wire keys, wire nesting, no client naming applied — the same content as raw, in the form you can hand to dumps, mutate, or pass to code that demands a real dict. Built fresh on each call, so editing the result cannot reach the model.

reason

Documentation is not yet available.

expected_version

Documentation is not yet available.

current_version

Documentation is not yet available.

extra = field(default_factory=_empty)

Documentation is not yet available.

raw = field(default_factory=_empty)

Documentation is not yet available.