All officers, boards, and members of boards, and employees of a county or any institution or agency thereof, authorizing, contracting, or incurring, or attempting to authorize, contract, or incur any indebtedness or liability for or in behalf of such county or institution thereof of which they are officers or employees, in violation of the provisions of this chapter, shall be jointly and severally liable in person and on their official bonds to the person, persons, corporation, or corporations damaged by such illegal authorization, indebtedness, or liability, to the extent of the loss sustained by such person, persons, corporation, or corporations.
SDCL 7-21-28