If any such treasurer (i) fails to pay, upon presentation, any legal warrant listed in § 58.1-3131, for which he has at the time funds appropriated by the governing body of his jurisdiction out of which such warrant ought to be paid, or (ii) fails to set apart necessary funds, when such funds are appropriated and come into his hands, for the payment of such warrant or (iii) fails to pay over the amount due upon such warrant as soon thereafter as the same may be again presented, the holder thereof may, on motion in his own name, in the circuit court of the treasurer's county or city, recover from him and his sureties the amount of such warrant, together with damages at the rate of ten percent per month on the amount from the time such treasurer should have paid the warrant and the costs of such motion, including reasonable attorney's fees.
Va. Code § 58.1-3140