MCPcopy
hub / github.com/grafana/dskit / sampledError

Struct sampledError

middleware/grpc_logging_test.go:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102type sampledError struct {
103 err error
104 shouldLog bool
105 reason string
106}
107
108func (e sampledError) Error() string { return e.err.Error() }
109func (e sampledError) Unwrap() error { return e.err }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected