MCPcopy Index your code
hub / github.com/commitdev/zero / Error

Function Error

pkg/util/exit/exit.go:27–30  ·  view source on GitHub ↗

Error terminates execution using unsuccessful execution exit code.

(format string, a ...interface{})

Source from the content-addressed store, hash-verified

25
26// Error terminates execution using unsuccessful execution exit code.
27func Error(format string, a ...interface{}) {
28 flog.Errorf(format, a...)
29 os.Exit(CodeError)
30}
31
32// OK terminates execution successfully.
33func OK(format string, a ...interface{}) {

Callers

nothing calls this directly

Calls 1

ErrorfFunction · 0.92

Tested by

no test coverage detected