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

Function Fatal

pkg/util/exit/exit.go:21–24  ·  view source on GitHub ↗

Fatal terminates execution using fatal exit code.

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

Source from the content-addressed store, hash-verified

19
20// Fatal terminates execution using fatal exit code.
21func Fatal(format string, a ...interface{}) {
22 flog.Errorf(format, a...)
23 os.Exit(CodeFatal)
24}
25
26// Error terminates execution using unsuccessful execution exit code.
27func Error(format string, a ...interface{}) {

Callers 12

InitFunction · 0.92
loadAllModulesFunction · 0.92
chooseCloudProviderFunction · 0.92
chooseStackFunction · 0.92
promptAllModulesFunction · 0.92
FetchModuleFunction · 0.92
ApplyFunction · 0.92
modulesWalkCmdFunction · 0.92
validateEnvironmentsFunction · 0.92
LoadConfigFunction · 0.92
init.goFile · 0.92
CreateFunction · 0.92

Calls 1

ErrorfFunction · 0.92

Tested by

no test coverage detected