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

Method Error

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

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

()

Source from the content-addressed store, hash-verified

938
939// Error returns a concatenation of all the error messages it wraps.
940func (m ListUserRequestMultiError) Error() string {
941 var msgs []string
942 for _, err := range m {
943 msgs = append(msgs, err.Error())
944 }
945 return strings.Join(msgs, "; ")
946}
947
948// AllErrors returns a list of validation violation errors.
949func (m ListUserRequestMultiError) AllErrors() []error { return m }

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected