The price varies with the brand of the washing machine.
You will need to replace a water sensor if;the washing machine does not stop draining water,overflows with water,stops midcircle or does not spin.
Common water pressure error codes are;PE common with LG,IE common on sasmung laundry washer,4E and 4C error codes.