Whereas in carriage of goods law breach of warranty only allows the injured party to sue for damages, in insurance law breach of a warranty is a breach of an essential term, giving the insurer the right to repudiate the contract, i. e. it has the same effect as a breach of condition in carriage of goods law.