mirror of https://github.com/status-im/consul.git
17 lines
306 B
Go
17 lines
306 B
Go
|
// Copyright (c) HashiCorp, Inc.
|
||
|
// SPDX-License-Identifier: BUSL-1.1
|
||
|
|
||
|
package index
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
type MissingRequiredIndexError struct {
|
||
|
Name string
|
||
|
}
|
||
|
|
||
|
func (err MissingRequiredIndexError) Error() string {
|
||
|
return fmt.Sprintf("the indexer produced no value for the required %q index", err.Name)
|
||
|
}
|