Interface GoogleGrpcExceptionHandlerFunction

All Superinterfaces:
GrpcExceptionHandlerFunction

@UnstableApi public interface GoogleGrpcExceptionHandlerFunction extends GrpcExceptionHandlerFunction
A GoogleGrpcExceptionHandlerFunction 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.