public static ErrorMessage createInvalidQueryParameter(String detailedMessage, Throwable cause) {
        return new ErrorMessage(INVALID_QUERY_PARAMETER.code, "Invalid query parameter", detailedMessage, cause);
    }
Creates an error message indicating that an invalid request parameter was received.
container-search/src/main/java/com/yahoo/search/result/ErrorMessage.java