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

Method Error

api/service/data/base.pb.validate.go:280–286  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

278
279// Error returns a concatenation of all the error messages it wraps.
280func (m BlockItemMultiError) Error() string {
281 var msgs []string
282 for _, err := range m {
283 msgs = append(msgs, err.Error())
284 }
285 return strings.Join(msgs, "; ")
286}
287
288// AllErrors returns a list of validation violation errors.
289func (m BlockItemMultiError) AllErrors() []error { return m }

Callers 2

ErrorMethod · 0.45
ErrorMethod · 0.45

Calls 1

JoinMethod · 0.45

Tested by

no test coverage detected