The detriment caused by breach of a carrier's obligation by failure to accept freight, messages, or passengers, is deemed to be the difference between the amount he had a right to charge for the carriage and the amount it would be necessary to pay for the same service when it ought to be performed.
SDCL 21-2-8