MCPcopy
hub / github.com/caddyserver/caddy / Error

Method Error

admin.go:1382–1387  ·  admin.go::APIError.Error
()

Source from the content-addressed store, hash-verified

1380}
1381
1382func (e APIError) Error() string {
1383 if e.Err != nil {
1384 return e.Err.Error()
1385 }
1386 return e.Message
1387}
1388
1389// parseAdminListenAddr extracts a singular listen address from either addr
1390// or defaultAddr, returning the network and the address of the listener.

Callers 15

trapSignalsPosixFunction · 0.45
AppConfigDirFunction · 0.45
openLogsMethod · 0.45
LoggerMethod · 0.45
AcceptMethod · 0.45
replaceLocalAdminServerFunction · 0.45
replaceRemoteAdminServerFunction · 0.45
handleErrorMethod · 0.45
TestManageIdentityFunction · 0.45

Calls

no outgoing calls

Tested by 4

TestManageIdentityFunction · 0.36