A discussion on the circumstances in which tort immunity may apply, which is comprised by two broad categories: covenants to insure and waivers of subrogation.