Similar to a homeowners insurance policy, building code coverage provides coverage when a peril insured against causes damage to a covered building or structure. Damages resulting from fire, water, falling objects, or storms that require your home to be brought back up to code may be covered.