penalty: (games) a handicap or disadvantage that is imposed on a competitor (or a team) for an infraction of the rules of the game
syntax error: an error of language resulting from code that does not conform to the syntax of the programming language