The controversy presented by this appeal is whether a tax assessor, his deputy and bondsman are liable to a purchaser of personal property at a delinquent tax sale for damages suffered by him due to the invalidity of the sale alleged to have resulted from negligence on the part of the assessor and his deputy in the computation of the tax payable.
Plaintiff appeals from a judgment of dismissal entered after defendants’ demurrer was sustained without leave to amend.
Plaintiff charged in his complaint that on June 24, 1938, defendants county tax assessor and his deputy sold to plaintiff certain personal property consisting of a dehydrating plant by means of a delinquent tax sale at public auction for $250; that the delinquent tax for which the property was sold was assessed against said personal property, the correct amount of which was $83.57; that the assessor and his deputy *490 “negligently . . . claimed a tax (on said property) of $84.36 at . . . said sale . . .; that said excessive sum was claimed by ... an error carelessly and negligently made by defendants ... in the computation of said tax; that said defendants negligently computed said tax in that they failed to carry the same out to the correct number of decimal places in the computation thereof”; that as a result of the erroneous computation the sale was void and the owner of the property, Becker, recovered judgment for $4,500 against plaintiff for the wrongful conversion of said property. Plaintiff now claims damages resulting from the negligence of defendants in the sum of $14,500 consisting of the above-mentioned judgment, the expense of defending the action brought by Becker, and other damages flowing from that action. Plaintiff received a bill of sale for the property from the assessor which recited that it was sold pursuant to sections 3820, 3821 and 3822 of the Political Code.
Plaintiff relies upon the general proposition that a public officer is liable to respond in damages to one specially injured by his neglect to perform or negligent performance of an official ministerial duty to the extent of such special injury. (21 Cal. Jur. 908.)
Plaintiff points to section 3823 of the Political Code as imposing the duty upon the tax assessor to compute correctly the amount of the tax on personal property. Assuming that such a duty is imposed upon the assessor, and that the act of computing the amount of the tax, that is, the application of the rate of tax to the assessed value of the property is a purely ministerial function, still we are of the opinion that plaintiff has failed to state a cause of action.
The fundamental principle from which springs the reasons why a purchaser at a delinquent tax sale may not recover damages suffered as a result of the alleged negligence of the assessor in the computation of the amount of tax, is that in tax sales the doctrine of
caveat emptor
applies in all its vigor. A purchaser of property at a tax sale takes the risk of any defect in the proceedings in the taxation process. No warranty of the validity or regularity of the proceedings exists. (See
Holland
v.
Hotchkiss,
It is an elementary principle that an indispensable factor to liability founded upon negligence is the existence of a duty of care owed by the alleged wrongdoer to the person injured, or to a class of which he is a member.
(Dahms
v.
General Elevator Co.,
We have assumed that the duty to exercise care in the computation of the tax is imposed upon the tax assessor by section 3823 of the Political Code. But that duty is not owed to a purchaser of property at a delinquent tax sale. Such duty would be owed only to the public as an entity in making secure the public revenues and expediting the taxation process as distinguished from the individual members of the public, and possibly to the owner of the property upon which the tax had been levied. There may well be a duty, under proper circumstances, upon the officer making the tax sale of land to execute a proper deed to the purchaser, when the taxation proceedings leading to the sale have been regular and valid
(Webster
v.
Somer,
A further ground for the absence of liability of the tax assessor flows from the application of the doctrine of caveat emptor. The essence of that doctrine is that the buyer beware; that he is bound to inform himself of the regularity of the tax proceedings, and that he assumes the risk of any error in the computation of the tax. Assumption of the risk out of which an injury arose by the person injured has consistently been held to bar recovery in an action for the injury alleged to have been negligently caused. (See 19 Cal. Jur. 583.)
It is true that assumption of risk, like contributory negligence, ordinarily must be pleaded as a defense and may not be the grounds for sustaining a demurrer to the complaint, such as is now before us. But' where, as in the case of contributory negligence, that negligence appears as a matter of law on the face of the complaint, a demurrer is sustainable on that ground.
(Nicolosi
v.
Clark,
Courts in two other states have on various grounds denied recovery from a tax official by a purchaser at a delinquent tax sale in actions where improperly performed duty was charged.
(Foster
v.
Malberg, supra; Hamilton
v.
Valiant,
It follows, of course, under the circumstances, that if the assessor is not liable neither is his deputy or bondsmen.
Plaintiff complains that the court abused its discretion in refusing to permit him to amend his complaint. There was no abuse of discretion. From plaintiff’s complaint the basis of plaintiff’s action is clear, that is, negligence in the calculation of the amount of the tax claimed against the property involved. Inasmuch as we have determined that no cause of action exists for such alleged negligence, there are no cir *494 cumstances under which an amendment would serve any useful purpose.
The judgment is affirmed.
Gibson, C. J., Shenk, J., Curtis, J., Edmonds, J., and Traynor, J., concurred.
