MCPcopy Create free account
hub / github.com/6boris/web3-template / Error

Method Error

api/interface/web3/demo.pb.validate.go:75–81  ·  view source on GitHub ↗

Error returns a concatenation of all the error messages it wraps.

()

Source from the content-addressed store, hash-verified

73
74// Error returns a concatenation of all the error messages it wraps.
75func (m GetUserRequestMultiError) Error() string {
76 var msgs []string
77 for _, err := range m {
78 msgs = append(msgs, err.Error())
79 }
80 return strings.Join(msgs, "; ")
81}
82
83// AllErrors returns a list of validation violation errors.
84func (m GetUserRequestMultiError) AllErrors() []error { return m }

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected