Except as otherwise provided, offenses against the election laws contained in this title are divided into two classes: “election frauds” and “misdemeanors”.