If an appellate court determines that an appeal in a civil case is frivolous, it may award just damages and single or double costs to the appellee, and such interest on the amount of the judgment as may be allowed by law. The appellate court shall calculate the amount of any award after a separately filed motion or notice from the court and reasonable opportunity to respond.
Mass. R. App. P. 25