MCPcopy Index your code
hub / github.com/cortexlabs/cortex / PrintErrorForUser

Function PrintErrorForUser

pkg/lib/errors/message.go:31–34  ·  view source on GitHub ↗
(err error, strs ...string)

Source from the content-addressed store, hash-verified

29}
30
31func PrintErrorForUser(err error, strs ...string) {
32 print.StderrBoldFirstLine(ErrorStr(err, strs...))
33 // PrintStacktrace(err)
34}
35
36func ErrorStr(err error, strs ...string) string {
37 wrappedErr := Wrap(err, strs...)

Callers 1

ErrorFunction · 0.92

Calls 2

StderrBoldFirstLineFunction · 0.92
ErrorStrFunction · 0.85

Tested by

no test coverage detected