Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cortexlabs/cortex
/ getCortexError
Function
getCortexError
pkg/lib/errors/error.go:102–107 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
100
}
101
102
func
getCortexError(err error) *Error {
103
if
cortexError, ok := err.(*Error); ok {
104
return
cortexError
105
}
106
return
nil
107
}
108
109
func
GetKind(err error) string {
110
if
cortexError, ok := err.(*Error); ok {
Callers
1
WithStack
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected