(a) Any person who alleges an error in any order, requirement, decision, or determination made by the building inspector in the interpretation or enforcement of this chapter may appeal such alleged error to the planning and zoning commission, but such appeal shall be taken within 30 days after the decision of the building inspector. (b) It is the intention of this chapter that all questions arising in the enforcement of this chapter shall be presented first to the building inspector and that such questions shall be presented only on appeal from the decision of the building inspector.