MCPcopy Create free account
hub / github.com/brimdata/super / Error

Method Error

compiler/srcfiles/error.go:25–34  ·  view source on GitHub ↗

Error concatenates the errors in e with a newline between each.

()

Source from the content-addressed store, hash-verified

23
24// Error concatenates the errors in e with a newline between each.
25func (e ErrorList) Error() string {
26 var b strings.Builder
27 for i, err := range e {
28 if i > 0 {
29 b.WriteByte('\n')
30 }
31 b.WriteString(err.Error())
32 }
33 return b.String()
34}
35
36type Error struct {
37 Msg string

Callers

nothing calls this directly

Calls 2

StringMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected