Mistake is divided into

(a) Mistake of law, and

(b) Mistake of fact.

Equity will, under proper conditions, relieve against mistakes of the latter class, but not against those of the former.