I believe that for water level, they use a pressure switch, look for a small diameter pipe 5mm or less, going to top of m/c from underneath, if that gets blocked, which it does, from soap etc m/c will think it has water in, hence the whirring, trying to pump out. cannot so error.
SD, March 2012