An agreement by which one party agrees to repay another for any loss or damage the latter may suffer.