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

Method toString

api/src/main/java/io/grpc/Status.java:551–558  ·  view source on GitHub ↗

A string representation of the status useful for debugging.

()

Source from the content-addressed store, hash-verified

549
550 /** A string representation of the status useful for debugging. */
551 @Override
552 public String toString() {
553 return MoreObjects.toStringHelper(this)
554 .add("code", code.name())
555 .add("description", description)
556 .add("cause", cause != null ? getStackTraceAsString(cause) : cause)
557 .toString();
558 }
559
560 private static final class StatusCodeMarshaller implements TrustedAsciiMarshaller<Status> {
561 @Override

Callers 9

assertChannelNotFoundMethod · 0.95
assertServerNotFoundMethod · 0.95
assertSocketNotFoundMethod · 0.95
pickAfterStateChangeMethod · 0.95
getStatusStringMethod · 0.95
CodeMethod · 0.45

Calls 2

addMethod · 0.65
nameMethod · 0.45

Tested by 7

assertChannelNotFoundMethod · 0.76
assertServerNotFoundMethod · 0.76
assertSocketNotFoundMethod · 0.76
pickAfterStateChangeMethod · 0.76
getStatusStringMethod · 0.76