cosmos-sdk/container/errors.go

13 lines
291 B
Go

package container
import (
"reflect"
"github.com/pkg/errors"
)
func duplicateDefinitionError(typ reflect.Type, duplicateLoc Location, existingLoc string) error {
return errors.Errorf("duplicate provision of type %v by %s\n\talready provided by %s",
typ, duplicateLoc, existingLoc)
}