Indemnification

What exactly does an indemnity cover and how does it differ from other contractual remedies? Can it extend to a party’s own negligence, and how should it interact with liability caps and exclusions?