Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/basecamp/once
/ ErrorMessage
Function
ErrorMessage
internal/docker/errors.go:24–30 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
22
)
23
24
func
ErrorMessage(err error) string {
25
var
de DescribedError
26
if
errors.As(err, &de) {
27
return
de.Description()
28
}
29
return
err.Error()
30
}
31
32
// Private
33
Callers
5
View
Method · 0.92
View
Method · 0.92
View
Method · 0.92
TestErrorMessage
Function · 0.85
newResult
Function · 0.85
Calls
2
Description
Method · 0.95
Error
Method · 0.45
Tested by
1
TestErrorMessage
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…