Interface GoogleGrpcStatusFunction

All Superinterfaces:
GrpcStatusFunction

@UnstableApi public interface GoogleGrpcStatusFunction extends GrpcStatusFunction
A GrpcStatusFunction that provides a way to include details of a status into a Metadata. You can implement a mapping function to convert Throwable into a Status which is stored in the `grpc-status-details-bin` key in the Metadata. If a given Throwable is an instance of either StatusRuntimeException or StatusException, the Status retrieved from the exception is returned with higher priority.