F5E4 on Whirlpool washers is about the door or lid: on some models the door stayed shut across back-to-back cycles, so open and close it and continue; on others the lid is open mid-cycle, so close it before the cycle resets and drains.
What it means
Door not opened between cycles
Whirlpool front-load washer (Use and Care Guide), Front-load washers, 2- and 3-digit displays Minor
Regions: United States
What the manual says
The door stayed shut across consecutive cycles. Open and close it, then clear the code and continue.
Source: Use and Care Guide, Front-Loading Automatic Washer
Lid is open
Whirlpool top-load HE washer (Product Help), Top-load HE washers Minor
Regions: United States
What the manual says
The lid is open during a cycle. Close it; left open too long, the cycle resets and drains.
When to call a technician
If the code stays after the lid is opened and closed again, Whirlpool says to call for service.
Source: Error Codes in Top Load HE Washers and per-code articles (Whirlpool Product Help)