Error messages

This is the list of error messages, as found in die() and exit() expressions.

MessageFileLine
"Duplicate trick with number $trickNumber."
/src/Domain/ValueObject/Game/Exception/DuplicateTrickNumber.php12
"Player {$playerIdentifier->toString( )} didn't play."
/src/Domain/ValueObject/Game/Exception/PlayerDidNotPlay.php14
"Trick {$trickNumber} not found."
/src/Domain/ValueObject/Game/Exception/TrickNotFound.php13
"Game number should be strictly positive; $number given."
/src/Domain/ValueObject/Game/Exception/InvalidGameNumber.php12
'This should never happen.'
/src/Domain/WriteModel/Game/Game.php502
'This should never happen'
/src/Domain/ReadModel/TableState/TableState.php171
"No consensus. Options are $options."
/src/Domain/ValueObject/Election/Exception/NoConsensus.php16
'This should not happen. Cannot have playing players without game number.'
/src/Domain/WriteModel/Table/Table.php330
'This should never happen'
/src/Domain/ReadModel/TableState/TableState.php142
'Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.'
/config/bootstrap.php14
'Only default piles of 52 cards or 32 cards are supported right now.'
/src/Controller/OrganizerApiController.php139
'Player expected'
/src/Domain/ValueObject/Player/PlayerNormalizer.php40
'PlayerIdentifiers expected'
/src/Domain/ValueObject/Player/PlayerIdentifiersNormalizer.php44
'AbstractPileOfCards expected'
/src/Domain/ValueObject/Card/PileOfCardsNormalizer.php46
'Invalid game conclusion'
/src/Domain/ValueObject/Game/GameConclusion.php35
'Not yet implemented. See #25.'
/src/Controller/GameController.php31
"Invalid invitation privacy: $privacy"
/src/Domain/ValueObject/Invitation/InvitationPrivacy.php50
'Invitations expected'
/src/Domain/ValueObject/Invitation/InvitationsNormalizer.php44
'This should never happen'
/src/Domain/ValueObject/Player/PlayerIdentifiers.php118
'Please provide a VIDEO_CALL_URL in your settings file.'
/src/Controller/Exception/VideoCallUrlPatternMissing.php11
"Status invalid. Expected $expectedStatus, got $actualStatus."
/src/Domain/WriteModel/Game/Exception/StatusInvalid.php13
"Unexpected cards or cards missing for player {$playerIdentifier->toString( )}."
/src/Domain/WriteModel/Game/Exception/CheatingPlayer.php14
"Incorrect trick number for game {$gameIdentifier->toString( )}: " "expected ${expectedTrickNumber}, got {$actualTrickNumber}."
/src/Domain/WriteModel/Game/Exception/IncorrectTrickNumber.php18
"Cut should be at least $minAllowed cards, at most $maxAllowed cards"
/src/Domain/WriteModel/Game/Exception/InvalidCut.php11
"Player {$playerIdentifier->toString( )} should reveal their cards before showing their initial hand."
/src/Domain/WriteModel/Game/Exception/HandNotRevealed.php14
"Wrong player. Expected {$expectedPlayer->toString( )}, got {$actualPlayer->toString( )}."
/src/Domain/WriteModel/Game/Exception/WrongPlayer.php14
"Item {$identifier->toString( )} not found in $class read model."
/src/Domain/ReadModel/Exception/NotFoundInReadModel.php14
"The cards weren't dealt yet for game {$gameIdentifier->toString( )}."
/src/Domain/ValueObject/Game/Exception/NotDealt.php14
"Trick incomplete. Only cards from $actualPlayerIds; expected cards from $expectedPlayerIds"
/src/Domain/ValueObject/Game/Exception/TrickIncomplete.php19
"Player {$playerIdentifier->toString( )} played more than one card."
/src/Domain/ValueObject/Game/Exception/PlayerPlayedTwice.php14
"Cannot start playing twice at table {$tableIdentifier->toString( )}."
/src/Domain/WriteModel/Table/Exception/CantStartTwice.php13
"Table {$tableIdentifier->toString( )} is already active."
/src/Domain/WriteModel/Table/Exception/ActiveTable.php14
"All $capacity places on your table are reserved."
/src/Domain/WriteModel/Table/Exception/TableFull.php12
"Player {$playerIdentifier->toString( )} is not playing."
/src/Domain/ReadModel/PersonalPlayerInfo/Exception/NotPlaying.php14
"Invitation {$invitation->toString( )} not found."
/src/Domain/WriteModel/Table/Exception/InvitationNotFound.php14
'Invitation not found.'
/src/Domain/WriteModel/Table/Exception/InvitationNotFound.php21
"Published invitation {$invitation->toString( )} not found."
/src/Domain/WriteModel/Table/Exception/InvitationNotFound.php28
"No cards at table {$tableIdentifier->toString( )}."
/src/Domain/WriteModel/Table/Exception/NoCards.php13
"Table {$tableIdentifier->toString( )} is still waiting for the first game to be played."
/src/Domain/WriteModel/Table/Exception/NoGame.php14
"Not enough players. Expected {$expectedAmount}, got {$actualAmount}."
/src/Domain/WriteModel/Table/Exception/NotEnoughPlayers.php11
"No dealer at table {$tableIdentifier->toString( )}"
/src/Domain/WriteModel/Table/Exception/NoDealer.php14
"Spectator {$playerIdentifier->toString( )} not found."
/src/Domain/WriteModel/Table/Exception/SpectatorNotFound.php15
'Invitation was not accepted'
/src/Domain/ValueObject/Invitation/Exception/InvitationNotAccepted.php11
"This string should not be longer than {$maxLength} characters; got {$actualLength}."
/src/Domain/ValueObject/StringObject/Exception/StringTooLong.php13
"Duplicate invitation {$invitation->toString( )}"
/src/Domain/ValueObject/Invitation/Exception/DuplicateInvitation.php13
'No invitation found.'
/src/Domain/ValueObject/Invitation/Exception/NoInvitations.php11
"No such seat: {$seat->toInteger( )}"
/src/Domain/ValueObject/Table/Exception/NoSuchSeat.php14
"Player with identifier {$playerIdentifier->toString( )} not found."
/src/Domain/ValueObject/Player/Exception/PlayerNotFound.php13
"Table {$tableIdentifier->toString( )} not active."
/src/Domain/ValueObject/Table/Exception/TableNotActive.php14
"Seat {$seat->toInteger( )} is already taken."
/src/Domain/ValueObject/Table/Exception/SeatTaken.php13
"Card {$card} not found."
/src/Domain/ValueObject/Card/Exception/CardNotFound.php13
sprintf('Duplicate card: %d of %s.'$card->getRank( ), $card->getSuit( ))
/src/Domain/ValueObject/Card/Exception/DuplicateCard.php18
"Player didn't get the trump card."
/src/Domain/ValueObject/Player/Exception/NoTrumpCard.php12
sprintf('Duplicate player: %s.'$playerIdentifier->toString( ))
/src/Domain/ValueObject/Player/Exception/DuplicatePlayer.php17