Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imgproxy/imgproxy
/ newTypeMismatchError
Function
newTypeMismatchError
options/errors.go:13–18 ·
view source on GitHub ↗
(key string, exp, got any)
Source
from the content-addressed store, hash-verified
11
)
12
13
func
newTypeMismatchError(key string, exp, got any) error {
14
return
TypeMismatchError{errctx.NewTextError(
15
fmt.Sprintf(
"option %s is %T, not %T"
, key, exp, got),
16
1,
17
)}
18
}
Callers
4
Get
Function · 0.85
AppendToSlice
Function · 0.85
GetInt
Method · 0.85
GetFloat
Method · 0.85
Calls
1
NewTextError
Function · 0.92
Tested by
no test coverage detected