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

Method Error

middleware/grpc_logging.go:39–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37type DoNotLogError struct{ Err error }
38
39func (i DoNotLogError) Error() string { return i.Err.Error() }
40func (i DoNotLogError) Unwrap() error { return i.Err }
41func (i DoNotLogError) ShouldLog(_ context.Context) (bool, string) { return false, "" }
42

Callers 12

WrapMethod · 0.45
http_auth.goFile · 0.45
TestTimeoutMiddlewareFunction · 0.45
WrapMethod · 0.45
TestInvalidFunction · 0.45
TestCountingListenerFunction · 0.45
writeAsJSONMethod · 0.45

Calls

no outgoing calls

Tested by 6

TestTimeoutMiddlewareFunction · 0.36
TestInvalidFunction · 0.36
TestCountingListenerFunction · 0.36