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

Method Error

errctx/wrapped_error.go:81–86  ·  view source on GitHub ↗

Error returns the error message with prefix if set.

()

Source from the content-addressed store, hash-verified

79
80// Error returns the error message with prefix if set.
81func (e *WrappedError) Error() string {
82 if len(e.prefix) > 0 {
83 return e.prefix + ": " + e.error.Error()
84 }
85 return e.error.Error()
86}
87
88// Unwrap returns the wrapped error.
89func (e *WrappedError) Unwrap() error {

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.65

Tested by

no test coverage detected