27-1-317. Breach of obligation other than contract. For the breach of an obligation not arising from contract, the measure of damages, except where otherwise expressly provided by this code, is the amount which will compensate for all the detriment proximately caused thereby, whether it could have been anticipated or not.