public Optional<String> error() {
            return error;
        }
Returns the error of this query, or empty if it is a valid query
container-search/src/main/java/com/yahoo/prelude/query/QueryCanonicalizer.java