MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / Error

Method Error

internal/cmd/util.go:7–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5type multiError []error
6
7func (m *multiError) Error() string {
8 errs := make([]string, len(*m))
9 for i, err := range *m {
10 errs[i] = err.Error()
11 }
12 return strings.Join(errs, "\n")
13}
14
15func (m *multiError) Errors() []error {
16 errs := make([]error, len(*m))

Calls

no outgoing calls