MCPcopy
hub / github.com/instrumenta/kubeval / Error

Function Error

log/log.go:21–30  ·  view source on GitHub ↗
(message error)

Source from the content-addressed store, hash-verified

19}
20
21func Error(message error) {
22 if merr, ok := message.(*multierror.Error); ok {
23 for _, serr := range merr.Errors {
24 Error(serr)
25 }
26 } else {
27 red := color.New(color.FgRed).SprintFunc()
28 fmt.Printf("%s - %v\n", red("ERR "), message)
29 }
30}

Callers 2

main.goFile · 0.92
ExecuteFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected