Any zoning or official map ordinance enacted by the board of commissioners or the mayor and council shall provide for a board of appeals, consisting of three members, one of whom shall be selected by the planning commission from among its own members, one by the board of commissioners, and one by the mayor and council. The rules governing the board of appeals shall be the same as those set forth for the planning commission in Section 2 of this Act. The ordinance first establishing the board of appeals, and any official map or zoning ordinance enacted subsequently, shall provide the board with the following duties and powers: 1. To hear and decide appeals wherein it is alleged that there has been error in an order or decision of the building officer or other official in administering the ordinance. 2. To hear and decide requests for special exceptions, interpretations of the map, and variations of the regulations where they impose practical difficulties or unnecessary hardships, and said decisions being within appropriate principles, conditions and safeguards set forth in the ordinance.