MCPcopy
hub / github.com/mislav/hub / Errorln

Function Errorln

ui/ui.go:62–69  ·  view source on GitHub ↗
(a ...interface{})

Source from the content-addressed store, hash-verified

60}
61
62func Errorln(a ...interface{}) (n int) {
63 n, err := Default.Errorln(a...)
64 if err != nil {
65 // If something as basic as printing to stderr fails, just panic and exit
66 os.Exit(1)
67 }
68 return
69}
70
71func IsTerminal(f *os.File) bool {
72 return isatty.IsTerminal(f.Fd())

Callers 8

handleErrorFunction · 0.92
CheckFunction · 0.92
apiCommandFunction · 0.92
deleteRepoFunction · 0.92
createFunction · 0.92
verboseLogFunction · 0.92
reportCrashFunction · 0.92
authorizeClientMethod · 0.92

Calls 1

ErrorlnMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…