MCPcopy Create free account
hub / github.com/goadesign/goa / Error

Method Error

eval/error.go:31–37  ·  view source on GitHub ↗

Error returns the error message.

()

Source from the content-addressed store, hash-verified

29
30// Error returns the error message.
31func (m MultiError) Error() string {
32 msgs := make([]string, len(m))
33 for i, de := range m {
34 msgs[i] = de.Error()
35 }
36 return strings.Join(msgs, "\n")
37}
38
39// Error returns the underlying error message.
40func (e *Error) Error() string {

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected