If a person so summoned neglects to attend or to give his attendance so long as may be necessary for the purpose for which he was summoned, or refuses to testify or to give his deposition if required, having no reasonable excuse therefor, he shall be liable to the party aggrieved for all damages sustained thereby.
RSA 516:6
RS 188:7. CS 200:7. GS 209:6. GL 228:6. PS 224:6. PL 336 :6. RL 392:6.