Interface StatusCode (2.59.0)

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
Type Description
StatusCode.Code

getTransportCode()

public abstract Object getTransportCode()

Return the transport-specific status code value.

Returns
Type Description
Object