West Virginia Code
Article 2. Costs Generally
§59-2-12. Costs When Case Dismissed for Want of Jurisdiction

In any instance where a case, an appeal, writ of error or supersedeas shall be dismissed for want of jurisdiction, the court shall render judgment against the party who improperly invoked the jurisdiction of the court for all costs, whether accruing in the trial court or in any appellate court, which result from such wrongful invoking of the jurisdiction, provided they be otherwise properly chargeable against him