Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imgproxy/imgproxy
/ wrapDownloadError
Function
wrapDownloadError
imagedata/errors.go:23–28 ·
view source on GitHub ↗
(err error, desc string)
Source
from the content-addressed store, hash-verified
21
}
22
23
func
wrapDownloadError(err error, desc string) error {
24
return
errctx.Wrap(
25
fetcher.WrapError(err, 1),
26
errctx.WithPrefix(fmt.Sprintf(
"can't download %s"
, desc)),
27
)
28
}
Callers
3
Error
Method · 0.85
DownloadSync
Method · 0.85
DownloadAsync
Method · 0.85
Calls
3
Wrap
Function · 0.92
WrapError
Function · 0.92
WithPrefix
Function · 0.92
Tested by
no test coverage detected