Whenever in any ordinance the doing of any act, or the omission to do any act or duty is declared a breach thereof and damage, loss, expense, or injury to the village, or to any person, is a result or consequence of such doing or omission, compensation for such damage, loss, expense, or injury may be recovered from the offender by the party aggrieved.
('77 Code, § 11.009)