MCPcopy Create free account
hub / github.com/prometheus/common / errDecoder

Struct errDecoder

expfmt/decode.go:134–136  ·  view source on GitHub ↗

errDecoder is an error-state decoder that always returns the same error.

Source from the content-addressed store, hash-verified

132
133// errDecoder is an error-state decoder that always returns the same error.
134type errDecoder struct {
135 err error
136}
137
138func (d *errDecoder) Decode(*dto.MetricFamily) error {
139 return d.err

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected