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

Method ReportError

resolver/resolver.go:247–247  ·  view source on GitHub ↗

ReportError notifies the ClientConn that the Resolver encountered an error. The ClientConn then forwards this error to the load balancing policy.

(error)

Source from the content-addressed store, hash-verified

245 // error. The ClientConn then forwards this error to the load balancing
246 // policy.
247 ReportError(error)
248 // NewAddress is called by resolver to notify ClientConn a new list
249 // of resolved addresses.
250 // The address list should be the complete list of resolved addresses.

Calls

no outgoing calls