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

Method Error

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

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

()

Source from the content-addressed store, hash-verified

710
711// Error returns a concatenation of all the error messages it wraps.
712func (m GetUserRequestMultiError) Error() string {
713 var msgs []string
714 for _, err := range m {
715 msgs = append(msgs, err.Error())
716 }
717 return strings.Join(msgs, "; ")
718}
719
720// AllErrors returns a list of validation violation errors.
721func (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