E2 means the washer can’t drain water within its expected time window, almost always a clogged pump filter.
E2 shows up when the washer doesn’t finish draining within about 8 minutes. On most GE models the drain pump filter, not the pump itself, is the first thing to check, and it clears the problem more often than not.
The information provided here is a diagnostic aid and does not replace the intervention of a qualified professional.
No cause is certain until it has been checked on the appliance.
An error code varies by brand
The same code can have a different meaning depending on the brand and model. Always check your appliance's manual before acting.
When to call a professional
If the simple checks turned up nothing, if the repair involves electricity, gas, or the sealed refrigerant system, or if you have any doubt at all: stop there and hand the appliance over to a qualified technician.