Skip to content

bloqade.lanes.bytecode.exceptions.StaleValidatedMovesError

← Module overview

classStaleValidatedMovesErrorsource

bloqade.lanes.bytecode.exceptions.StaleValidatedMovesError

Bases: MoveValidationError

A ``ValidatedMoves`` token was applied to a state it was not validated against (or to that state after it moved on).

class StaleValidatedMovesError(lane: int, src: int, expected: int)

The token records the mover assignments resolved at validation time, so applying it to a different state would desynchronize the location maps.

Parameters

NameTypeDescription
laneint
srcint
expectedint

Attributes

NameTypeDefaultDescription
lane—lane
src—src
expected—expected