NotFoundError is returned by [Recipient.Wrap] and [Identity.Unwrap] when the plugin binary cannot be found.
| 406 | // NotFoundError is returned by [Recipient.Wrap] and [Identity.Unwrap] when the |
| 407 | // plugin binary cannot be found. |
| 408 | type 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 | |
| 416 | func (e *NotFoundError) Error() string { |
| 417 | return fmt.Sprintf("%q plugin not found: %v", e.Name, e.Err) |
nothing calls this directly
no outgoing calls
no test coverage detected