MCPcopy
hub / github.com/gofiber/fiber / customBinderReturningError

Struct customBinderReturningError

bind_test.go:2221–2224  ·  view source on GitHub ↗

customBinderReturningError returns a fixed error for testing extractFieldFromError branches.

Source from the content-addressed store, hash-verified

2219
2220// customBinderReturningError returns a fixed error for testing extractFieldFromError branches.
2221type customBinderReturningError struct {
2222 err error
2223 mimeType string
2224}
2225
2226func (*customBinderReturningError) Name() string {
2227 return "error-binder"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected