type go.pact.im/x/plumb/internal/diag.ErrorKind
30 uses
go.pact.im/x/plumb/internal/diag (current package)
diag.go#L14: var _ error = ErrorKind("")
diag.go#L20: type ErrorKind string
diag.go#L23: func (e ErrorKind) Error() string { return string(e) }
diag.go#L30: ErrNoDirectives ErrorKind = "no //plumb: directives found"
diag.go#L31: ErrInvalidSetName ErrorKind = "invalid set name"
diag.go#L32: ErrMisplacedDirective ErrorKind = "directive in an unsupported position"
diag.go#L33: ErrDuplicateDirective ErrorKind = "duplicate provider directive"
diag.go#L34: ErrInvalidConversion ErrorKind = "invalid conversion"
diag.go#L35: ErrUntypedConstant ErrorKind = "untyped constant provider"
diag.go#L36: ErrBlankProvider ErrorKind = "blank provider name"
diag.go#L37: ErrInitProvider ErrorKind = "provider directive on func init"
diag.go#L38: ErrEmbeddedField ErrorKind = "provider directive on embedded field"
diag.go#L39: ErrEmbeddedInterface ErrorKind = "provider directive on embedded interface"
diag.go#L40: ErrConstraintInterfaceMethod ErrorKind = "method provider on constraint interface"
diag.go#L41: ErrStructProvider ErrorKind = "invalid struct-type provider"
diag.go#L42: ErrAmbiguousProducer ErrorKind = "ambiguous producer"
diag.go#L43: ErrMultipleErrors ErrorKind = "multiple error results"
diag.go#L44: ErrDependencyCycle ErrorKind = "dependency cycle"
diag.go#L45: ErrUnusedTemplate ErrorKind = "unused result-generic template"
diag.go#L46: ErrBareTypeParamResult ErrorKind = "bare type-parameter result"
diag.go#L47: ErrAmbiguousTemplates ErrorKind = "ambiguous templates"
diag.go#L48: ErrNonTerminating ErrorKind = "non-terminating generic instantiation"
diag.go#L49: ErrUnexportedProvider ErrorKind = "unexported provider referenced across a package boundary"
diag.go#L50: ErrUnreachableType ErrorKind = "type not reachable from the destination package"
diag.go#L51: ErrInvalidType ErrorKind = "type does not type-check"
diag.go#L52: ErrReservedName ErrorKind = "reserved function name with a non-empty signature"
diag.go#L53: ErrShadowsPredeclared ErrorKind = "set name shadows a predeclared identifier"
diag.go#L54: ErrDestShadowsPredeclared ErrorKind = "destination declaration shadows a predeclared identifier"
diag.go#L55: ErrSetNameCollision ErrorKind = "set name collides with an existing declaration"
diag.go#L80: func Errorf(pos token.Position, kind ErrorKind, detail string, args ...any) *Error {