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

Method Error

errctx/text_error.go:22–27  ·  view source on GitHub ↗

Error returns the error message with prefix if set.

()

Source from the content-addressed store, hash-verified

20
21// Error returns the error message with prefix if set.
22func (e *TextError) Error() string {
23 if len(e.prefix) > 0 {
24 return e.prefix + ": " + e.msg
25 }
26 return e.msg
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected