MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Error

Method Error

pkg/util/multierror/multierror.go:60–69  ·  view source on GitHub ↗

Error returns a string like "[e1, e2, ...]" where each eN is the Error() of each error in the slice.

()

Source from the content-addressed store, hash-verified

58// Error returns a string like "[e1, e2, ...]" where each eN is the Error() of
59// each error in the slice.
60func (errors multiError) Error() string {
61 parts := make([]string, 0)
62 for _, err := range errors {
63 if err == nil {
64 continue
65 }
66 parts = append(parts, err.Error())
67 }
68 return strings.Join(parts, sep)
69}

Calls

no outgoing calls