A public officer or person holding a public trust or employment upon whom any duty is enjoined by law, who willfully neglects to perform the duty is guilty of a misdemeanor. This section does not apply to cases of official acts or omissions, the prevention or punishment of which is otherwise specially provided by statute.
R.L.1910, § 2292.