Interface StatusCode (2.8.1)

public interface StatusCode

Transport-specific status code.

The status codes are modeled after the status codes in grpc. For more information about grpc status codes, see https://github.com/grpc/grpc-java/blob/master/core/src/main/java/io/grpc/Status.java

Methods

getCode()

public abstract StatusCode.Code getCode()

Return the code enum value.

Returns
TypeDescription
StatusCode.Code

getTransportCode()

public abstract Object getTransportCode()

Return the transport-specific status code value.

Returns
TypeDescription
Object