MCPcopy
hub / github.com/getsops/sops / UserError

Method UserError

usererrors.go:110–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108}
109
110func (e decryptKeyErrors) UserError() string {
111 var errStrs []string
112 for _, err := range []error(e) {
113 if userErr, ok := err.(UserError); ok {
114 errStrs = append(errStrs, userErr.UserError())
115 } else {
116 errStrs = append(errStrs, err.Error())
117 }
118 }
119 return strings.Join(errStrs, "\n\n")
120}
121
122type decryptKeyError struct {
123 keyName string

Callers

nothing calls this directly

Calls 2

UserErrorMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected