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

Function connectionErrorf

internal/transport/transport.go:681–687  ·  view source on GitHub ↗

connectionErrorf creates an ConnectionError with the specified error description.

(temp bool, e error, format string, a ...any)

Source from the content-addressed store, hash-verified

679
680// connectionErrorf creates an ConnectionError with the specified error description.
681func connectionErrorf(temp bool, e error, format string, a ...any) ConnectionError {
682 return ConnectionError{
683 Desc: fmt.Sprintf(format, a...),
684 temp: temp,
685 err: e,
686 }
687}
688
689// ConnectionError is an error that results in the termination of the
690// entire connection and the retry of all the active streams.

Callers 10

mapRecvMsgErrorFunction · 0.85
transport.goFile · 0.85
NewServerTransportFunction · 0.85
NewHTTP2ClientFunction · 0.85
GracefulCloseMethod · 0.85
handleGoAwayMethod · 0.85
readServerPrefaceMethod · 0.85
readerMethod · 0.85
keepaliveMethod · 0.85

Calls

no outgoing calls

Tested by 1