In case of such error either party may apply by petition to the superior court to have its amount determined; and the court, after notice and hearing, shall determine it, and may issue execution therefor and for costs in favor of the debtor against the creditor.
RSA 529:17
1859, 2234:3. GS 218:17. GL 237:17. PS 233:17. PL 345 :17. RL 401:17.