Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ convertError
Function
convertError
coderd/healthcheck/healthcheck.go:319–325 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
317
}
318
319
func
convertError(err error) *string {
320
if
err != nil {
321
return
ptr.Ref(err.Error())
322
}
323
324
return
nil
325
}
Callers
1
Run
Method · 0.70
Calls
2
Ref
Function · 0.92
Error
Method · 0.45
Tested by
no test coverage detected