You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/internal/controller/cache/index/errors.go

17 lines
306 B

// 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)
}