@Override
    public void failed(ErrorMessage error) {
        respondedAt = now();

        if (error.getCode() == Error.BACKEND_COMMUNICATION_ERROR.code) {
            setWorking(false, "Connection failure: " + error);
        } else if (error.getCode() == Error.NO_ANSWER_WHEN_PINGING_NODE.code) {
            if ((respondedAt - succeededAt) > 10000) {
                setWorking(false, "Not working for 10 s: " + error);
            }
        } else {
            succeededAt = respondedAt;
        }
    }
Called when this node fails.

@param error a container which should contain a short description
container-search/src/main/java/com/yahoo/search/cluster/TrafficNodeMonitor.java