MCPcopy
hub / github.com/grpc/grpc-go / setError

Method setError

stats/opentelemetry/e2e_test.go:2134–2138  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

2132}
2133
2134func (c *errorConn) setError(err error) {
2135 c.mu.Lock()
2136 defer c.mu.Unlock()
2137 c.err = err
2138}
2139
2140func (c *errorConn) getErr() error {
2141 c.mu.Lock()

Callers 1

runDisconnectScenarioFunction · 0.95

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected