Made it throw an error if units cannot convert.