MCPcopy Create free account
hub / github.com/compozy/agh / Error

Method Error

internal/registry/source.go:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func (e PackageNotFoundError) Error() string {
23 slug := strings.TrimSpace(e.Slug)
24 if slug == "" {
25 return ErrPackageNotFound.Error()
26 }
27 return fmt.Sprintf("registry: package %q not found", slug)
28}
29
30func (e PackageNotFoundError) Is(target error) bool {
31 return target == ErrPackageNotFound

Calls

no outgoing calls