MCPcopy Create free account
hub / github.com/MG-RAST/Shock / exitError

Function exitError

shock-client/util.go:38–44  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

36}
37
38func exitError(msg string) {
39 //fmt.Fprintln(os.Stderr, USAGE)
40 if msg != "" {
41 fmt.Fprintln(os.Stderr, "Error: "+msg)
42 }
43 os.Exit(1)
44}
45
46func exitOutput(v interface{}) {
47 var b []byte

Callers 5

setSizesMethod · 0.85
setMd5Method · 0.85
mainFunction · 0.85
exitOutputFunction · 0.85
buildDownloadUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected