MCPcopy
hub / github.com/cortexlabs/cortex / IsNoPrint

Function IsNoPrint

pkg/lib/errors/error.go:136–141  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

134}
135
136func IsNoPrint(err error) bool {
137 if cortexError, ok := err.(*Error); ok {
138 return cortexError.NoPrint
139 }
140 return false
141}
142
143func SetNoPrint(err error) error {
144 cortexError := WithStack(err).(*Error)

Callers 9

ErrorFunction · 0.92
ErrorNoTelemetryFunction · 0.92
ErrorFunction · 0.92
respondErrorCodeFunction · 0.92
exitFunction · 0.92
exitFunction · 0.92
exitFunction · 0.92
exitFunction · 0.92
exitFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected