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

Method recipientError

plugin/plugin.go:600–605  ·  view source on GitHub ↗
(idx int, err error)

Source from the content-addressed store, hash-verified

598}
599
600func (p *Plugin) recipientError(idx int, err error) int {
601 if err := p.writeError([]string{"recipient", fmt.Sprint(idx)}, err); err != nil {
602 return p.fatalf("%v", err)
603 }
604 return 3
605}
606
607func (p *Plugin) identityError(idx int, err error) int {
608 if err := p.writeError([]string{"identity", fmt.Sprint(idx)}, err); err != nil {

Callers 1

RecipientV1Method · 0.95

Calls 2

writeErrorMethod · 0.95
fatalfMethod · 0.95

Tested by

no test coverage detected