If money not raised for a legal object is assessed with other moneys legally raised, the assessment is not void; nor shall any error, mistake or omission by the assessors, tax collector or treasurer render it void; but any person paying such tax may bring his action against the municipality in the Superior Court for the same county, and shall recover the sum not raised for a legal object, with 25% interest and costs, and any damages which he has sustained by reason of mistakes, errors or omissions of such officers.
36 M.R.S. § 504