public static StroomStatusCode getStroomStatusCode(int code) {
        for (StroomStatusCode stroomStatusCode : StroomStatusCode.values()) {
            if (stroomStatusCode.getCode() == code) {
                return stroomStatusCode;
            }
        }
        return UNKNOWN_ERROR;
    }
List of all the stroom codes that we return.
stroom-pipeline/src/main/java/stroom/pipeline/writer/StroomStatusCode.java