Any party of a contract is entitled to claim indemnity if they suffer a loss.