public void error(String source, ErrorMessage message) {
        incoming().add(new ErrorEvent(eventCount.incrementAndGet(), source, message));
    }
A stream of events which can be rendered as Server-Sent Events (SSE).

@author lesters
container-search/src/main/java/com/yahoo/search/result/EventStream.java