
    Philip Biershenk et al., Appellants, v. William E. D. Stokes, Respondent.
    (New York Common Pleas—General Term,
    April, 1894.)
    The complaint in an action was for work, labor and services and materials, alleged to have been done and furnished at defendant’s request. The evidence given on the trial showed that such work and materials were done for and furnished to a subcontractor in the construction of certain buildings for defendant, and that the only contract plaintiffs had with the defendant was one by which the latter agreed to withhold a specified amount from the contractor and apply the same in payment of plaintiffs’ claim on completion of the work. Meld, that there was a fatal variance between the pleading and proof, and that a dismissal of complaint was properly ordered.
    An interlocutory judgment overruling a demurrer to a counterclaim set up in an answer cannot be reviewed on an appeal from a final judgment of the City Court to the Common Pleas where the counterclaim was abandoned on the trial and forms no part of the relief included in the j udgment.
    Appeal from a judgment of the General Term of the City Court of New York, which affirmed a judgment for dismissal of the complaint at trial term.
    Action to recover for work, labor and services and materials alleged to have been rendered and furnished at defendant’s request.
    
      
      Hewry Goojjer, for appellants.
    
      Ernest Hall, for respondent.
   Bischoff, J.

The complaint was for work, labor and services performed and materials furnished at defendant’s request, and the answer, besides generally denying the allegations of the complaint, interposed as a counterclaim a claim for damages alleged to have accrued to defendant out of plaintiffs’ unauthorized filing of a notice of lien claimed pursuant to the provisions of the Mechanic’s Lien Law (Laws 1885, chap. 342). A demurrer to the counterclaim was sustained at Special Term, but on appeal to the General Term of the court below was overruled. Defendant thereupon caused final judgment in his favor to be entered upon the decision of the General Term. Upon appeal to this court that judgment was reversed as unauthorized, the proper judgment upon a decision overruling a demurrer to part of an answer being an interlocutory one. Biershenk v. Stokes, 18 N. Y. Supp. 854; 46 N. Y. St. Repr. 179. Pursuant to the directions in the judgment of this court, an interlocutory judgment overruling the demurrer and granting plaintiffs leave to reply to the counterclaim on payment of costs was thereupon entered at General Term of the court below. With .the conditions of the leave granted them plaintiffs never complied, and no reply to the counterclaim was ever served, so that, at the time when this action was reached for trial in the court below, the counterclaim, assuming it to have been valid as such, stood admitted, except as to the amount of defendant’s alleged damages.

On the trial it appeared unchallenged, and from evidence which plaintiffs had themselves adduced, that the work, labor and services and materials, for which they sought to recover in this action, were performed and furnished by them under a contract, in writing, which they had made therefor with one Owen Cumiskey, a subcontractor of Squire & Whipple, with whom the defendant had contracted for the construction of certain buildings. It further appeared from plaintiffs’ own showing, and from documentary evidence adduced by them, that the only contract they had with the defendant was one by which the latter had agreed to withhold $2,700 of the amount which would accrue to Squire & Whipple under his contract with them, and to apply the sum so to be withheld towards the payment of plaintiffs’ claim against Cumiskey upon completion of the work undertaken by the former. When plaintiffs rested defendant’s counsel moved that the complaint be dismissed for a fa^ire of proof and because of a fatal variance between the complaint and the proof. The trial justice, intimating his concurrence in the views expressed by defendant’s counsel, thereupon offered to allow plaintiffs to withdraw a juror and to apply for an amendment of .the complaint. Plaintiffs’ counsel, however, without asking for an amendment of the complaint to conform to the proof, declined to avail himself of the offer made. Thereupon the complaint was dismissed. Judgment for dismissal of the complaint was entered in defendant’s favor, from which plaintiffs appealed to the General Term of the court below, where it was affirmed, and from the judgment of affirmance plaintiffs have again appealed to this court.

Observing the rule that the recovery must, in every case, be secundum allegata et probata (Romeyn v. Sickles, 1 Silv. Ct. of App. 594; 108 N. Y. 650), it is indisputable that the ruling of the trial court in granting the motion of defendant’s counsel for dismissal of the complaint was correct. The cause of action which appeared from the evidence was widely different from the cause of action alleged in the complaint, and was susceptible of widely different defenses. There was, therefore, not only a variance between the complaint and the proof, and an entire failure of proof, but the cause of action alleged was disproved. Arnold v. Angell, 62 N. Y. 508.

Nor can appellants, on this appeal, secure a review of the interlocutory judgment of the General Term of the court below which overruled their demurrer to defendant’s counterclaim. Section 3192 of the Code of Civil Procedure provides that section 1294 shall be applicable to appeals from the City Court to this court, and section 1294 confers the right of appeal only upon a party or parties “ aggrieved.” How can the appellants be said, on this appeal, to be aggrieved ” by the interlocutory judgment? Presumably acting upon the suggestion of this court on the occasion of the first appeal, that the facts relied on in the answer do not constitute a proper counterclaim in this action, defendant abandoned his counterclaim on the trial. Ho proof of his alleged damages was made or offered on the trial, and no part of the relief awarded to defendant by%he interlocutory judgment is included in the judgment appealed from. By the abandonment of his counterclaim on the trial and the entry of final judgment for dismissal of the complaint only, defendant has waived whatever rights were secured to him by the interlocutory judgment. Appellants have, therefore, no cause for complaint. To constitute error for which a judgment will be reversed, it must appear that the error operated to the appealing party’s prejudice or disadvantage. In so far as the judgment appealed from omits all award to defendant upon his counterclaim, it is in appellants’ favor. Hughes v. Stickney, 13 Wend. 280 ; Idley v. Bowen, 11 id. 227; Reid v. Vanderheyden, 5 Cow. 719; Hall v. Brooks, 89 N. Y. 33; Steele v. White, 2 Paige, 478; Kellett v. Rathbun, 4 id. 102; Kelly v. Israel, 11 id. 147; Hackley v. Hope, 4 Keyes, 123; Bush v. Rochester City Bank, 48 N. Y. 659.

The judgment should be affirmed, with costs.

Bookstaver and Pryor, JJ., concur.

Judgment affirmed, with costs.  