aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/federation/sourceref/ResolveResult.java
blob: d9681140ae9db3e16ed9fd14d2ba9b4337c9c183 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.federation.sourceref;

/**
 * @author baldersheim
 */
public record ResolveResult(SearchChainInvocationSpec invocationSpec, String errorMsg) {
    ResolveResult(SearchChainInvocationSpec invocationSpec) {
        this(invocationSpec, null);
    }
    ResolveResult(String errorMsg) {
        this(null, errorMsg);
    }
}