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

Struct Error

pkg/lib/errors/error.go:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27const ErrNotCortexError = "error"
28
29type Error struct {
30 Kind string
31 Message string
32 Metadata interface{} // won't be printed
33 NoTelemetry bool
34 NoPrint bool
35 Cause error
36 stack *stack
37}
38
39func (cortexError *Error) Error() string {
40 return cortexError.Message

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected