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

Method Error

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

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

()

Source from the content-addressed store, hash-verified

1038
1039// Error returns a concatenation of all the error messages it wraps.
1040func (m ListUserReplyMultiError) Error() string {
1041 var msgs []string
1042 for _, err := range m {
1043 msgs = append(msgs, err.Error())
1044 }
1045 return strings.Join(msgs, "; ")
1046}
1047
1048// AllErrors returns a list of validation violation errors.
1049func (m ListUserReplyMultiError) AllErrors() []error { return m }

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected