MCPcopy Index your code
hub / github.com/docker/docker-agent / PrintError

Method PrintError

pkg/cli/printer.go:66–68  ·  view source on GitHub ↗

PrintError prints an error message

(err error)

Source from the content-addressed store, hash-verified

64
65// PrintError prints an error message
66func (p *Printer) PrintError(err error) {
67 p.Printf("❌ %s", err)
68}
69
70// PrintWarning prints a warning message on its own line. Used for non-fatal
71// notices such as a turn that produced only reasoning or an empty response,

Callers 1

RunFunction · 0.80

Calls 1

PrintfMethod · 0.95

Tested by

no test coverage detected