@Override
    public String toString() {
        final Map<Severity, Set<StoredError>> combinedMap = new HashMap<>();
        combinedMap.putAll(locationAgnosticIndicator.getErrorMap());

        for (final Severity severity : Severity.values()) {
            final Set<StoredError> combinedErrors = combinedMap.computeIfAbsent(severity, k -> new HashSet<>());
            for (final Indicator indicator : map.values()) {
                final Set<StoredError> storedErrors = indicator.getErrorMap().get(severity);
                if (storedErrors != null) {
                    combinedErrors.addAll(storedErrors);
                }
            }
        }
        return Arrays.stream(Severity.SEVERITIES)
                .map(severity -> severity.name() + ":" + combinedMap.get(severity).size())
                .collect(Collectors.joining(", "));
    }
Gets a summary of the counts of warnings, errors and fatal errors.

@return A summary of the counts of warnings, errors and fatal errors.
stroom-core-client-widget/src/main/java/stroom/editor/client/view/IndicatorLines.java