Indemnity is a contract by which one engages to save another from a legal consequence of the conduct of one of the parties, or of some other person.
R.L.1910, § 1074.