2-a. Upon application, the court, in its discretion, may extend the time to serve a notice of claim. The extension shall not exceed the time limited for the commencement of an action by the claimant against any district or any such school. In determining whether to grant the extension, the court shall consider, in particular, whether the district or school or its attorney or its insurance carrier or other agent acquired actual knowledge of the essential facts constituting the claim within the time specified in subdivision one of this section or within a reasonable time thereafter. The court shall also consider all other relevant facts and circumstances, including: whether the claimant was an infant, or mentally or physically incapacitated, or died before the time limited for service of the notice of claim; whether the claimant failed to serve a timely notice of claim by reason of his justifiable reliance upon settlement representations made by an authorized representative of the district or school or its insurance carrier; whether the claimant in serving a notice of claim made an excusable error concerning the identity of the district or school against which the claim should be asserted; and whether the delay in serving the notice of claim substantially prejudiced the district or school in maintaining its defense on the merits. An application for leave to serve a late notice shall not be denied on the ground that it was made after commencement of an action against the district or school.
Nothing contained in this subdivision shall affect claims arising out of contracts entered into by the parties before the effective date of this subdivision; nor shall anything contained in this subdivision affect non-contractual claims which have accrued before the effective date of this subdivision.