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

Method CloneErrorContext

errctx/context.go:32–35  ·  view source on GitHub ↗
(opts ...Option)

Source from the content-addressed store, hash-verified

30}
31
32func (ec *ErrorContext) CloneErrorContext(opts ...Option) *ErrorContext {
33 newEc := *ec
34 return newEc.applyOptions(opts...)
35}
36
37func (ec *ErrorContext) StatusCode() int {
38 if ec.statusCode <= 0 {

Callers

nothing calls this directly

Calls 1

applyOptionsMethod · 0.80

Tested by

no test coverage detected