MCPcopy
hub / github.com/FiloSottile/age / NotFoundError

Struct NotFoundError

plugin/client.go:408–414  ·  view source on GitHub ↗

NotFoundError is returned by [Recipient.Wrap] and [Identity.Unwrap] when the plugin binary cannot be found.

Source from the content-addressed store, hash-verified

406// NotFoundError is returned by [Recipient.Wrap] and [Identity.Unwrap] when the
407// plugin binary cannot be found.
408type NotFoundError struct {
409 // Name is the plugin (not binary) name.
410 Name string
411 // Err is the underlying error, usually an [exec.Error] wrapping
412 // [exec.ErrNotFound].
413 Err error
414}
415
416func (e *NotFoundError) Error() string {
417 return fmt.Sprintf("%q plugin not found: %v", e.Name, e.Err)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected