The recovery appellants seek herein is damages from appellees because of the alleged negligent construction of a building on premises owned by appellants by the Parsons Construction Company, hereafter referred to as the contractor, and on account of the alleged negligent, insufficient, and improper supervision of Steele, Sandham & Steele, called herein the architects, of the construction of the building. The legal sufficiency of the second amended petition of appellants, hereafter designated the petition, was contested by special and general *190 demurrer of each of the appellees. The grounds thereof were identical. They were that there was a defect of parties defendant, that several causes of action were improperly joined, and that the petition did not state facts sufficient to constitute a cause of action. The demurrers were, without specification of the reason therefor, sustained by the trial court and a judgment of dismissal of the case was rendered. The issue of this appeal is the correctness of the action of the trial court in its disposition of the case.
The substance of the parts of the petition relevant to this inquiry is:
Plans and specifications for the construction of a building on the described real estate owned by appellants were prepared at their instance and request by the architects, specifying in detail and with particularity the manner in which the building should be constructed including specific instructions as to the excavating, backfilling, and piling that were required. Instructions to bidders were attached to the plans and specifications. The proposal as exhibited by the plans and specifications was accepted by appellants. These were submitted to contractors and bids for construction of the proposed building were invited. A bid was made by the contractor for the construction of the building according to the plans and specifications prepared by the architects and approved by appellants and the bid of the contractor was accepted as made by it. A contract was made with the contractor in accordance with the bid and the contractor engaged in the actual construction of the building as provided by the plans and specifications therefor. The architects were employed by the owners to supervise the construction of the building in compliance with the plans and specifications and they acted in that capacity and status.
The specifications were made for Fuchs Machinery & Supply Co. Building. The parties to the construction contract were the contractor, Andrew Murphy & Son, *191 Inc., a corporation, and Fuchs and Crawford, a partnership. Fuchs Machinery & Supply Co., a partnership, Andrew Murphy & Sons, Inc., a corporation, and Fuchs & Crawford, a partnership, each assigned their interest and rights to appellants.
The contractor and the architects were charged in separate paragraphs of the petition with many negligent acts of omission and commission. The specific acts of negligence alleged in each paragraph are identical except where it is said that the contractor was negligent in failing to do a specified thing, the corresponding act charged against the architects is in their failing to require the contractor to do the identical thing; and where it is said the contractor was guilty of an act of commission, the corresponding act of negligence charged against the architects is that they permitted the contractor to do the identical thing.
The matters to be considered and decided on this appeal do not require that the very numerous allegations of negligence be summarized or detailed herein. It is sufficient that they are all concerned with the subject matter covered in detail by the contract providing for the construction of the building in accordance with the plans and specifications aforesaid. Appellants seek a joint and several judgment against the contractor and architects for the alleged damages resulting from the asserted negligence of appellees.
It is important to determine the character of the cause of action asserted against the contractor. The appellants say it is in tort and the contractor thinks it is on contract. Notwithstanding the adoption of the code, the substantial distinctions between actions on contract and those in tort exist. State ex rel. Wright v. Barney,
The sole source or origin of the duty of the contractor was the construction contract. The nature of the grievance charged against the contractor was that it obligated itself by written contract to erect a building for appellants as required by the plans and specifications under the direction and supervision of the architects acting for appellants and that it failed by omission and commission to construct the building in that manner. This is definitely and precisely demonstrated by the language of the petition: “* * * that plans and specifications for the construction of a building * * * were, at plaintiffs’ special instance and request, prepared for *193 the plaintiffs by the defendant Steele, Sandham & Steele, specifying specifically the manner in which the building * * * was to be constructed, both generally and specifically, and including specific instructions in regard to the excavating, backfilling and piling; * * * that the defendant Parsons Construction Company did submit a bid, which said bid was accepted for the completion of said building * * * according to the plans and specifications above referred to * * * and the defendant Parsons Construction Company undertook the construction of said building under said plans and specifications.”
The pleading of appellants lacks allegations of other or different duty assumed by or imposed upon the contractor. The injuries for which appellants seek redress were the rights which accrued to them, according to the pleading, exclusively as the result of the construction contract. This is confirmed and emphasized by the conclusion of the pleading that appellants expended a large amount of money for a building “according to the plans and specifications” and if the building had been completed according to the plans and specifications, the value of the building constructed would have been equal to the expenditures made by appellants. In such a situation allegations of negligence are insignificant. It is recognized that if an action is not maintainable without pleading and establishing the contract, if the gist of the action is the breach of contract, either by malfeasance or nonfeasance, it is in substance, whatever may be the form of the pleading, an action on the contract. City of East Grand Forks v. Steele,
The contract concerned in this case prescribed the
*194
scope and manner of completing the work to be done by the contractor. Hence its obligation was to erect the building according to the contract and the plans and specifications with skill and in workmanlike manner. The whole of the obligation of the contractor was contractual and any failure of performance afforded a resort to an action for breach of contract. State v. Commercial Casualty Ins. Co.,
The claim of damages by appellants against the contractor was for breach of the construction contract. The present action is and was required to be in contract and not in tort.
McNeel v. State,
It is said in Atlanta Gas Light Co. v. Newman,
City of East Grand Forks v. Steele, supra, states: “An action to recover damages arising from the negligence of an expert employed to audit certain accounts is founded on breach of contract, and not in tort. The cause of action is the breach of the contract, and the different items of damage resulting therefrom do not constitute separate causes of action.”
International Printing Pressmen & Assistant’s Union v. Smith, supra, contains the following: “This contract * * * pledged the union to recognize Smith as a member thereof and to allow him all of the benefits incident thereto upon compliance with the terms of the contract. He complied with the contract, but the union breached it. * * * All the rights for which he seeks redress arose by virtue of the agreement of the parties. Smith’s action was therefore founded upon a contract in writing.”
McDermott v. Morris Canal & Banking Co., supra, declares: “When a count in a declaration sets forth a cause of action arising out of a contract, and maintainable only by referring to the contract as creating the right for violation of which the plaintiff complains, a recovery can be had only in an action on contract, and not in action for tort.”
The language in Garber v. Whittaker,
Federal Life Ins. Co. v. Maxam,
In Louisville & Nashville R. R. Co. v. Spinks,
*198 In Nathan v. Locke, supra, the court observed that if a complaint states a cause of action in contract and it appears that this is the gravamen of the action, the nature of the action is not changed by the fact that there are also allegations in regard to tortious conduct on the part of the defendant and the court concluded: “* * * if there is no liability except that arising out of the breach of a purely contractual duty the action must be in contract and an action in tort cannot be maintained.”
It is declared in Mulvey v. Staab & Co., 4 N. M. 172,
In Barrett v. New England Telephone & Telegraph Co., 80 N. H. 354,
*199 Appellants argue that if there has been negligence in the performance of a contract, an action in tort may be had because the injury in such an instance results not from a breach of contract but from negligence in the performance of it and that accompanying every contract is a common-law duty to perform the thing to be done with skill and in a workmanlike manner.
Russell & Co. v. Polk County Abstract Co.,
In Federal Life Ins. Co. v. Maxam, supra, it is said: “In a suit for damages for the breach of a contract, the action arises out of the agreement of the parties, and is generally denominated an action ex contractu, but the right of action for a tort arises out of a breach of duty fixed by law, independent of the will or agreement of the parties, and is usually denominated an action ex delicto.”
In Garber v. Whittaker,
supra,
it is stated: “As a general rule, it is equally clear, however, that where the action is based entirely on a breach of the terms of a contract between the parties, and not on a violation of some duty imposed by law, an action on the case will not lie, and the plaintiff must sue, if at all, in contract. * * * In other words, as was said in Diver v. Miller, 4 W. W. Harr. (34 Del.) 207,
In Louisville & Nashville R. R. Co. v. Spinks, supra:, the court remarked on this subject: “Every person who makes a contract of any kind is, of course, under a duty of performing it; but it would never do to hold that every breach of a civil contract, though necessarily in a sense involving a breach of the duty thereby imposed, would give rise to an action ex delicto.”
In Pecos & N. T. Ry. Co. v. Amarillo St. Ry. Co. (Tex. Civ. App.),
The court said in Walser v. Moran, supra: “Where the law imposes a duty arising from the relation rather than the contract, and there is a breach of duty, the aggrieved party may sue in trespass on the case, but if there be no legal duty, except arising from the contract, there can be no election, and the party must rely upon the agreement alone * *
Schneider v. Ft. Dearborn Casualty Underwriters,
supra,
states: “This general rule is recognized in the case of Nevin v. Pullman Palace Car Co.,
This subject is discussed in Rich v. New York Cent. & Hud. Riv. R. R. Co.,
There is no foundation in the circumstances of this case as made by the petition for the argument of appellants in this regard. Likewise, there is no basis for an action by appellants against the contractor for a tort. The present action against it is on contract for damages for a breach of the construction contract.
The petition does not assert that the architects are liable to appellants because of the contract to construct the building, entered into by the contractor. The architects are strangers to it. Likewise, there is no claim in the petition that the contractor has any responsibility to appellants because of their transaction with the architects concerning supervision of the construction of the building. The contractor is a stranger to it. There is no similarity between the principles of law applicable to the relationship of owner and architect and the principles of law governing the relationship of owner and contractor. An architect is generally an agent of the owner. A contractor is an independent contractor in relation to the owner. The contractor was responsible for the erection of the building in harmony with his contract and the plans and specifications as the architects interpreted them and as they directed the con
*203
tractor. There was no area of common interest, common duty, or common benefit of the architects and contractor. The interest of the contractor was adverse to that of the architects. The function and responsibility of each were separate. They had neither a joint nor common liability or interest. It is the doctrine of this jurisdiction that causes of action involving different defendants cannot be joined unless each cause affects them all and they have a joint or common liability or interest. Separate causes against different defendants cannot lawfully be joined. § 25-702, R. R. S. 1943; Barry v. Wachosky,
Affirmed.
