Displays error message when a move is invalid