{concurring).
Chapter 50 of the Code, containing two hundred and thirty-nine sections, is intended to be a complete code . of procedure for justices of the peace. It provides (section 49) that there shall be but one form of action which shall be denominated a civil action. Each action is a special action on the particular case, and the complaint must state in a plain and direct maimer the facts constituting the cause of action. The copy of the complaint is not served, but the suit is instituted and the parties are brought together by the service on the defendant of a summons, which makes the broad classification of (1) a civil action for the recovery of money due on contract; (2) for damages for a wrong, as the case may be, which comprehends such civil wrongs as do not arise from *58bread] of contract as are within tlie jurisdiction of the justice. iSee section 8 et aeq. See preface and chapter .1, Bisb. Noncont. Law; ó Ene. PI. & Prac. 556.
The main purpose of the summons is to bring the parties together, and then the pleadings pro and con- commence, for the statute provides for their coming together and lie-ginning the suit without any summons (section 19), and the function of the summons is for the most part accomx>lished, —entirely accomplished so far as relates to the statement of the cause of action. Then and there the plaintiff in his complaint states in a plain and direct manner the facts constituting the cause of action, giving no name to his complaint, either in contract or in tort, leaving it for the justice to give it such name or classification as he may see fit, provided he gives him the proper judgment impliedly containing the concrete point of law which springs up out of the facts alleged and proved. Ho that the plaintiff does not fail, and there is no good reason why he should fail, by reason of the mistake he may make in the summons of designating his cause of action in this class of cases as belonging to contract or non-contract, — a mistake, if any, at once corrected by his complaint. This must be the true construction, for, as we have seen, the very object. of this system of pleading is to enable the justice to apply the proper rule of law to the facts alleged and proved, and give the proper judgment thence arising. Any other view would, at the first step, thwart the main purpose of this Code called chapter 50, by entangling the plaintiff in trying to give the right name to his summons, when the breach of duty should happen to fall within the ill-defined space within which tort and contract mingle or blend or overlie each other in ways partly plain and familiar and partly obscure (see Bish. Noncont. Law, § 72), and comprehending the doctrine of naming a tort and suing on a contract; thus ensnaring the plaintiff into the decision at his peril of legal questions of nomenclature', etc., Avhich it is the main purpose of this new system to avoid. And clauses 9 and .10 of section 50 of chapter 50 imply that the summons needs no amendment in that regard, by providing that before the trial and on the trial the pleadings may be amended, or a variance between proof and the allegations of a pleading may be disregarded *59in certain cases as immaterial; and, even if that -were not so, the specific statement in the complaint of' the facts constituting the cause of action -would he taken as qualifying, overruling, controlling, if necessary, the general statement contained in the summons; as, for example, a putting of the cause of action in the wrong class as a wrong conclusion of law (4 Enc. Pl. & Prac. 742), for the plain reason that there is hut one civil action, and the complaint is the first and only statement of the constituent facts of the cause of action. If the summons had said “for the recovery of money due hy (quasi) contract,” it would have heen technically right; for the statute (section 1, chapter 97) expressly declares the contract of betting and gaming to he void, and will sustain the count for money had and received. See Thompson v. Thompson, 5 W. Va. 190; Spring Co. v. Knowlton, 103 U. S. 49; 4 Enc. Pl. & Prac. 749.
Pleadings under the Oode system are to he liberally construed, and so dealt with hy construction and privilege of amendment as to subserve the administration of substantial justice between the parties. See 4 Enc. PI. and Prac. 749. But what was this transactien according to its facts? It was a contingent agreement that defendant, should have plaintiff’s money if he heat plaintiff' at. a game of craps. This he did, and got plaintiff’s money, with plaintiff’s consent. The agreement was made and executed, and, without something to intervene, the maxim, “ Volenti non fit injuria,” would apply. But now the statute conies in, and says, “Your contract was void and each of you was hound to know it,” and says further (section 2) that plaintiff, the loser, may recover the money hack from defendant, the winner, hy suit in court or before a justice, according to the amount or value; thus binding on defendant the personal duty of refunding to plaintiff the money. This duty imposed hy law to refund money obtained by unlawful contract defendant has violated, tíee 1 Poll. Jur. 81, 82. The executory contract of gaming was the occasion of executing it; the execution of it the statute created into a cause of action against the will of the defendant. This duty to refund, this right to have refunded, was not created hy any contract, express or to he implied from any facts in the case. It contained hut one element in *60common with a contract — that of being personal; a right and duty between definite persons. In other respects, this being for money, it is a common-law trespass on the case in assumpsit, or tort ex contractu., as plaintiff may please. For a discussion of the doctrine of actions quasi ex con-tractu and quasi ex delicto, illustrated by the development and application of the generic action of trespass on the case, see Holmes, Uom. Law, 188, etc.; Biglow, Lead. Cas. 20; Chandelor v. Lopus, 1 Smith, Lead. Cas. (9th Am. Ed.) 319, 330. On the nature and scope of the obligation of quasi contracts, see Keener, Quasi Cont. c. 1 et seq; Robinson v. Welty, 40 W. Va. 385, 392 (22 S. E. 73); 1 Beach Mod. Cont. Law, § 640, note 5; Sandars, Just, by Hammond, 37; Maine, Anc. Law (8d Am. Ed.) 332.
From this we have enough to see that, if plainiff had in his summons followed the common-law method of looking at the cause of action quoad the. form of procedure, he would have said in a civil action for the recovery of money due on (quasi) contract; and on the motion to quash, which no doubt would have been made, the plaintiff could have, made two sufficient answers : (1) It is not the business of Code pleading to create rights and their correlative duties; but it is a method of procedure to enforce them, as distinguished from the law which gives or defines the right (Poyser v. Minors, 7 Q. B. Div. 329, 333); and this is a quasi contract under the substantive law. (2) What is there on the face of the summons to show that my cause of action is not what I call it — money due on contract? Therefore the motion would on both grounds have been properly overruled; but if it had been sustained, and the amendment been allowed, substituting damages for a wrong, and the complaint had been filed stating in a plain and direct manner the facts constituting the cause of action, the motion to quash would have been again made by defendant’s attorney,' not only as a matter of caution to save the point, but perhaps in analogy to common-law procedure, with something more of plausibility. But now the plainiff can meet him with some half a dozen sufficient answers: (1) This now appears to be a noncdntract duty, which has been violated — a tort ex contractu. If has been created by statute because of the execution of a contract, but against defendant’s will. It is therefore a wrong at *61my pleasure as to methods of procedure. See Blsli. Non-cont. Law, §§ 72, 78; Busw. Jam. § 209, “Torts ex Oon-Irctu'ffi Bliss, Code PI. § 14; Maxw. Code PI. p. 86. (2) The parties have now been brought together, and, the summons having performed its -chief function, your motion comes too late. (8) It is no part of the friction of the summons to state the facts constituting the cause of action; that is the function of the complaint. (4) It is the function of the complaint to state the group of facts constituting the cause of action, but need call no names, leaving it for the three successive courts at their own pleasure to call it an action on contract, or an action on noncon-tract; provided they give him the judgment he shows himself entitled to as arising out of the facts stated and proved (as was done in this case). (5) But I find, on looking to the transcript of the record, that the defendant did not move to quash the writ and dismiss the case until after the complaint had been filed; and then having appeared he could only make defense by answer, or by exception to the complaint as not sufficiently explicit to be understood, or as containing no cause of action; so that the motion to quash the summons was out of time and out of place. In other words, the summons can not, at any stage, be quashed on that ground. (6) The appeal to the circuit court was allowed, and then it was the duty of that court to try the case de 'iiovo, upon the pleadings made up in the justice’s court, or to permit the pleadings to be amended before or during the trial of the appeal when substantial justice would be promoted by the amendment.
As no error in the pleadings has been pointed out, and as I have not been able to discover any, I take for granted that substantial justice did not require any to be made, and that the judgment, which is plainly right on the merits, ought to be affirmed.
Affirmed.