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

Method Error

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

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

()

Source from the content-addressed store, hash-verified

79
80// Error returns a concatenation of all the error messages it wraps.
81func (m DefiPriceItemMultiError) Error() string {
82 var msgs []string
83 for _, err := range m {
84 msgs = append(msgs, err.Error())
85 }
86 return strings.Join(msgs, "; ")
87}
88
89// AllErrors returns a list of validation violation errors.
90func (m DefiPriceItemMultiError) AllErrors() []error { return m }

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected