Art. 2162. Dismissal by consent of parties, or because of lack of jurisdiction or right to appeal, or abandonment; transfer
An appeal can be dismissed at any time by consent of all parties, or for lack of jurisdiction of the appellate court, or because there is no right to appeal, or if, under the rules of the appellate court, the appeal has been abandoned.
If an appeal is taken to an appellate court which has no jurisdiction over it, the court may transfer the appeal to the proper court, upon such terms and conditions as it may prescribe. If an appeal is transferred to the supreme court in error, the supreme court may transfer or retransfer it to the proper court.