Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imgproxy/imgproxy
/ generateErrorText
Function
generateErrorText
server/error_page.go:177–180 ·
view source on GitHub ↗
(err errctx.Error)
Source
from the content-addressed store, hash-verified
175
}
176
177
func
generateErrorText(err errctx.Error) ([]byte, string) {
178
body := fmt.Appendf([]byte{},
"%s\n\n%s"
, err.Error(), err.FormatStack())
179
return
body,
"text/plain; charset=utf-8"
180
}
Callers
1
generateErrorHTML
Function · 0.85
Calls
2
Error
Method · 0.65
FormatStack
Method · 0.65
Tested by
no test coverage detected