MCPcopy
hub / github.com/1Panel-dev/1Panel / Error

Method Error

agent/buserr/multi_err.go:11–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9type MultiErr map[string]error
10
11func (e MultiErr) Error() string {
12 var keys []string
13 for key := range e {
14 keys = append(keys, key)
15 }
16 sort.Strings(keys)
17
18 buffer := bytes.NewBufferString("")
19 for _, key := range keys {
20 buffer.WriteString(fmt.Sprintf("[%s] %s\n", key, e[key]))
21 }
22 return buffer.String()
23}

Callers 15

downloadLangFromRemoteFunction · 0.45
syncInstalledAppFunction · 0.45
syncRuntimeFunction · 0.45
syncSSLFunction · 0.45
syncTaskFunction · 0.45
initAcmeAccountFunction · 0.45
checkDockerComposeFunction · 0.45
InitAgentDBFunction · 0.45
InitTaskDBFunction · 0.45
InitAlertDBFunction · 0.45
init.goFile · 0.45

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected