Diswasher won't complete cycle

Near the end of the ‘Normal Wash’ cycle it sound like it is draining and the display has ‘ER’ and the ‘Crystal’ wash light is lit?