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

Method identityError

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

Source from the content-addressed store, hash-verified

605}
606
607func (p *Plugin) identityError(idx int, err error) int {
608 if err := p.writeError([]string{"identity", fmt.Sprint(idx)}, err); err != nil {
609 return p.fatalf("%v", err)
610 }
611 return 3
612}
613
614func expectOk(sr *format.StanzaReader) error {
615 ok, err := sr.ReadStanza()

Callers 2

RecipientV1Method · 0.95
IdentityV1Method · 0.95

Calls 2

writeErrorMethod · 0.95
fatalfMethod · 0.95

Tested by

no test coverage detected