MCPcopy Create free account
hub / github.com/grpc/grpc-java / onError

Method onError

stub/src/main/java/io/grpc/stub/StreamObserver.java:79–79  ·  view source on GitHub ↗

Receives a terminating error from the stream. May only be called once and if called it must be the last method called. In particular if an exception is thrown by an implementation of onError no further calls to any method are allowed. t should be a {@link io.grpc.StatusExcept

(Throwable t)

Source from the content-addressed store, hash-verified

77 * @param t the error occurred on the stream
78 */
79 void onError(Throwable t);
80
81 /**
82 * Receives a notification of successful stream completion.

Callers 15

onNextMethod · 0.65
sendIoErrorMethod · 0.65
sendGetTlsConfigRespMethod · 0.65
onNextMethod · 0.65
onNextMethod · 0.65
onErrorMethod · 0.65
sendMethod · 0.65
assertChannelNotFoundMethod · 0.65

Implementers 15

S2AServiceImpls2a/src/test/java/io/grpc/s2a/internal
FailWriters2a/src/test/java/io/grpc/s2a/internal
FakeS2AServerTests2a/src/test/java/io/grpc/s2a/internal
FakeWriters2a/src/test/java/io/grpc/s2a/internal
FakeS2AServers2a/src/test/java/io/grpc/s2a/internal
Readers2a/src/main/java/io/grpc/s2a/internal
CachingRlsLbClientrls/src/main/java/io/grpc/rls/CachingR
LbStreamgrpclb/src/main/java/io/grpc/grpclb/Gr
MockWriteralts/src/test/java/io/grpc/alts/intern
Readeralts/src/main/java/io/grpc/alts/intern
RespObserverservices/src/test/java/io/grpc/protobu
FlowControlClientResponseObserverservices/src/test/java/io/grpc/protobu

Calls

no outgoing calls