For the breach of an obligation arising from contract, the measure of damages, except when otherwise expressly provided by the laws of this state, is the amount which will compensate the party aggrieved for all the detriment proximately caused thereby or which in the ordinary course of things would be likely to result therefrom. No damages can be recovered for a breach of contract if they are not clearly ascertainable in both their nature and origin.
N.D.C.C. § 32-03-09