Enum libcoinche::game::PlayError
[−]
[src]
pub enum PlayError { TurnError, CardMissing, IncorrectSuit, InvalidPiss, NonRaisedTrump, NoLastTrick, }
Error that can occur during play
Variants
TurnError | A player tried to act before his turn |
CardMissing | A player tried to play a card he doesn't have |
IncorrectSuit | A player tried to play the wrong suit, while he still have some |
InvalidPiss | A player tried to play the wrong suit, while he still have trumps |
NonRaisedTrump | A player did not raise on the last played trump |
NoLastTrick | No last trick is available for display |