It seems to us very clear that this judgment was erroneous. Our special real action provided by the Rev. Sts. c. 107, to foreclose a mortgage, is a peculiar proceeding, resembling in substance, perhaps, as much a bill in equity as a suit at law. Courts are fully authorized, in this action, to make any such order or decree, and issue any such process, as justice and equity may require. Little aid, therefore, can be drawn from the rules regulating other real actions.
We think, there can be no reasonable doubt that, even in a case where the same person is the mortgagee in two distinct mortgages, to secure several debts, and the same person is mortgagor, the two could not be united in one suit, so as to have one consolidated conditional judgment; though we have not been referred to any decided case to that effect. It seems contrary to principles, and to a just construction of the statute. It would be to hypothecate each parcel of the mortgaged premises for the debt secured by the other ; which the parties themselves have not done. Then there are so many dependent and derivative rights to each, which may be held by different persons, as assignees or attaching creditors of each equity of redemption, that such consolidated judgment would tend to produce a confusion of rights and consequent injustice. And we think the statute (Rev. Sts. c. 107, <§> 5) implies that there is to be a single specific judgment on the mortgage. “ The court shall inquire and determine how much is due to the plaintiff on the mortgage, and shall then enter judgment that if the defendant shall, within two months after the judgment, pay the sum so found due on the mortgage, <fcc., the mortgage shall be void, and the defendant shall hold the premises^ discharged thereof.” Such a judgment, therefore, gives to the party, who has the right to redeem, all the benefit of a decree under a bill to redeem, and reinstates him in his legal estate, without such decree. The whole
But the case before us is not one where the original defendant Peck was the mortgagor and debtor in both mortgages. The first was a mortgage made by Hunting to Peck, and by him assigned to Hapgood, and for aught that appears, the debt due upon it was the proper debt of Hunting. When Peck assigned it, he had no further interest or concern in it; but the whole passed to the assignee. The original defendant was not the mortgagor, nor the assignee of the mortgagor. The only apparent reason for bringing the suit on that mortgage against him was, that he was tenant in possession; in which case the statute seems to imply, that the action shall be by common writ of entry, though, perhaps, the plaintiff may, if he choose, set out the mortgage. Rev. Sts. c. 107, §<§> 4, 8.
The court being of opinion that the judgment was erro neous, the only question is, whether error lies to reverse it-; and we think it does. It is an error that goes to the whole of the judgment.
It was objected that the writ of error ought not to be sustained, because the plaintiff in error, the original defendant, had a right of appeal from the judgment, if it was erroneous, and therefore could not have error; and the cases of Savage v. Gulliver, 4 Mass. 171, and Monk v. Guild, 3 Met. 372, were relied upon.
Although the plaintiff in error had a right of appeal from a judgment by default, under the Rev. Sts. c. 82, <§> 6, which altered the law as it formerly stood, yet this was essentially altered by St. 1840, c. 87, ^ 4, 5, which took away the general right of appeal from the judgment of the court of common pleas to the supreme judicial court, and left only a limited and qualified right of appeal, upon the matter of law,
