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

Method applyOptions

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

Source from the content-addressed store, hash-verified

82}
83
84func (ec *ErrorContext) applyOptions(opts ...Option) *ErrorContext {
85 for _, opt := range opts {
86 opt(ec)
87 }
88
89 return ec
90}
91
92// callers returns the stack trace, skipping the specified number of frames.
93func callers(skip int) []uintptr {

Callers 2

newErrorContextFunction · 0.95
CloneErrorContextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected