MCPcopy
hub / github.com/dnote/dnote / Error

Function Error

pkg/cli/log/log.go:81–83  ·  view source on GitHub ↗

Error prints an error message

(msg string)

Source from the content-addressed store, hash-verified

79
80// Error prints an error message
81func Error(msg string) {
82 fmt.Fprintf(color.Output, "%s%s %s", indent, ColorRed.Sprint("⨯"), msg)
83}
84
85// Errorf prints an error message with optional format verbs
86func Errorf(msg string, v ...interface{}) {

Callers 6

checkLegacyDBPathFunction · 0.92
newRunFunction · 0.92
newRunFunction · 0.92
newRunFunction · 0.92
newRunFunction · 0.92
checkLegacyPathFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected