Mistake may be either of fact or law.

(Enacted 1872.)