MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / WithPublicMessage

Function WithPublicMessage

errctx/options.go:21–25  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

19}
20
21func WithPublicMessage(msg string) Option {
22 return func(ec *ErrorContext) {
23 ec.publicMsg = msg
24 }
25}
26
27func WithShouldReport(report bool) Option {
28 return func(ec *ErrorContext) {

Callers 15

newRequestErrorFunction · 0.92
newRequestSchemeErrorFunction · 0.92
newPartialResponseErrorFunction · 0.92
newResponseStatusErrorFunction · 0.92
newTooManyRedirectsErrorFunction · 0.92
newRequestCanceledErrorFunction · 0.92
newRequestTimeoutErrorFunction · 0.92
newNotModifiedErrorFunction · 0.92
WrapErrorFunction · 0.92
newSourceAddressErrorFunction · 0.92
newSignatureErrorFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected