Skip to main content

assert_voting_right_active

Function assert_voting_right_active 

Source
pub fn assert_voting_right_active(
    unit_id: Uuid,
    holders: &[LotHolder],
) -> Result<(), VotingRightSuspendedError>
Expand description

Garde d’application (gate vote H10/H17) : un lot dont le vote est suspendu ne peut pas voter (Art. 3.87 §1). Erreur typée → 422 VOTING_RIGHT_SUSPENDED.