@NonNull
    public Map<String, StatusCode> getConnectorErrors() {
        final Map<String, StatusCode> result = getAllFromContext(b -> StatusCode.values()[b.getInt(CON_ERROR)]);
        final Iterator<Map.Entry<String, StatusCode>> it = result.entrySet().iterator();
        while (it.hasNext()) {
            final Map.Entry<String, StatusCode> entry = it.next();
            if (entry.getValue() == null || entry.getValue() == StatusCode.NO_ERROR) {
                it.remove();
            }
        }
        return result;
    }
Build a search result from a collection of caches.

@param caches the non-null collection of caches to include
main/src/main/java/cgeo/geocaching/SearchResult.java