If any clerk of any court of record, sheriff, magistrate, school board member, county commissioner, county surveyor, coroner, treasurer, or official of any of the State institutions, or of any county, city or town, shall willfully omit, neglect or refuse to discharge any of the duties of his office, for default whereof it is not elsewhere provided that he shall be indicted, he shall be guilty of Class 1 misdemeanor