If any highway, culvert, or bridge is damaged by flood, fire or other cause, to the extent that it endangers the safety of public travel, the governing body responsible for the maintenance of such highway, culvert, or bridge, shall within forty-eight hours of receiving notice of such danger, erect guards over such defect or across such highway of sufficient height, width, and strength to guard the public from accident or injury and shall repair the damage or provide an alternative means of crossing within a reasonable time after receiving notice of the danger. The governing body shall erect a similar guard across any abandoned public highway, culvert, or bridge. Any officer who violates any of the provisions of this section commits a petty offense.
SDCL 31-32-10