MCPcopy Index your code
hub / github.com/go-python/gopy / Add

Method Add

bind/bind.go:36–41  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

34type ErrorList []error
35
36func (list *ErrorList) Add(err error) {
37 if err == nil {
38 return
39 }
40 *list = append(*list, err)
41}
42
43func (list *ErrorList) Error() error {
44 buf := new(bytes.Buffer)

Callers 4

test.pyFile · 0.80
test.pyFile · 0.80
genPreMethod · 0.80
genPrintOutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected