Skip to content

bloqade.lanes.bytecode.exceptions.DestinationOccupiedError

← Module overview

classDestinationOccupiedErrorsource

bloqade.lanes.bytecode.exceptions.DestinationOccupiedError

Bases: MoveValidationError

A lane's destination holds an atom that does not move in this group.

class DestinationOccupiedError(lane: int, dst: int, occupant: int)

Applies uniformly to mover lanes and empty-source filler lanes: the AOD trap site arrives at every lane’s destination either way. An occupied destination is only legal when its occupant vacates in the same group.

Parameters

NameTypeDescription
laneint
dstint
occupantint

Attributes

NameTypeDefaultDescription
lane—lane
dst—dst
occupant—occupant