code: def handle_error(self, error: Exception) -> None:
          
          LOGGER.exception("error during pgn parsing")
          self.game.errors.append(error)
docs: Populates :data:`chess.pgn.Game.errors` with encountered errors and
          logs them.