errDecoder is an error-state decoder that always returns the same error.
| 132 | |
| 133 | // errDecoder is an error-state decoder that always returns the same error. |
| 134 | type errDecoder struct { |
| 135 | err error |
| 136 | } |
| 137 | |
| 138 | func (d *errDecoder) Decode(*dto.MetricFamily) error { |
| 139 | return d.err |
nothing calls this directly
no outgoing calls
no test coverage detected