In an old (2015) post someone who had error 4 for an intergas HRE was asked (by Dan Robinson) if he had had electrical work done.
I have got boiler with this error and had the heating/hot water programmer exchanged last week (and will sooner or later have to make another similar change).
Dan...