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

Method PublicMessage

errctx/context.go:45–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func (ec *ErrorContext) PublicMessage() string {
46 if len(ec.publicMsg) == 0 {
47 return "Internal error"
48 }
49
50 return ec.publicMsg
51}
52
53func (ec *ErrorContext) ShouldReport() bool {
54 return ec.shouldReport

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected