Any interested party or any taxpayer may contest the validity of any election proceedings under this subchapter by filing with the court a complaint in equity, specifically alleging any errors complained of in the proceedings, and the petitioner shall have the burden of proof. If no complaint has been filed or if a complaint has been filed and has been finally dismissed, the election shall be conclusively deemed to be valid. If, prior to the timely filing of a complaint, further proceedings in connection with the incurring of the debt have been filed with the department, then any contest shall proceed by way of an appeal from the action of the department upon the proceedings. The petition or appeal provided by this section shall be the party's or the taxpayer's sole and exclusive remedies.
53 Pa.C.S. § 8044