An exclusive remedy under the UCC fails when it does not adequately compensate for a breach, effectively depriving the aggrieved party of the substantial benefits of the contract.
For example: If a seller provides defective goods and the only remedy is repair, but repairs are repeatedly ineffective, this could be seen as a failure of the exclusive remedy if the buyer cannot use the goods as intended.