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

Method Error

api/service/demo/user.pb.validate.go:408–414  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

406
407// Error returns a concatenation of all the error messages it wraps.
408func (m UpdateUserReplyMultiError) Error() string {
409 var msgs []string
410 for _, err := range m {
411 msgs = append(msgs, err.Error())
412 }
413 return strings.Join(msgs, "; ")
414}
415
416// AllErrors returns a list of validation violation errors.
417func (m UpdateUserReplyMultiError) AllErrors() []error { return m }

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected