In any action on a contract, the defendant may file a plea alleging any such failure in the consideration of the contract, or fraud in its procurement, or any such breach of any warranty to him of the title to real property or of the title or the soundness of personal property, for the price or value whereof he entered into the contract, or any other matter, as would entitle him either to recover damages at law from the plaintiff, or the person under whom the plaintiff claims, or to relief in equity, in whole or in part, against the obligation of the contract; or, if the contract be by deed, alleging any such matter existing before its execution, or any such mistake therein, or in the execution thereof, or any such other matter, as would entitle him to such relief in equity; and in either case alleging the amount to which he is entitled by reason of the matters contained in the plea. Every such plea shall be verified by affidavit.
Structure West Virginia Code
Chapter 56. Pleading and Practice
§56-5-1. Payment Before Action Is Brought May Be Pleaded
§56-5-2. Payment Into Court After Action Is Brought
§56-5-3. Acceptance of Payment Into Court; Trial of Issue as to Residue
§56-5-4. Setoff Generally; Plea or Account of Setoff; Counter Setoff; Trial
§56-5-5. Special Pleas in the Nature of Pleas of Setoff; Verification
§56-5-6. When Special Plea Bar to Relief in Equity; Nature of Replication
§56-5-7. Application of Article to Voluntary Bonds or Deeds
§56-5-8. Setoff as to Part of Demand; Continuance
§56-5-9. Status of Defendant With Reference to Setoff; Verdict and Judgment