Class GrpcExceptionMapperServiceFilter

java.lang.Object
io.servicetalk.grpc.api.GrpcExceptionMapperServiceFilter
All Implemented Interfaces:
HttpExecutionStrategyInfluencer, StreamingHttpServiceFilterFactory, ExecutionStrategyInfluencer<HttpExecutionStrategy>

public final class GrpcExceptionMapperServiceFilter extends Object implements StreamingHttpServiceFilterFactory
Filter that maps known Throwable subtypes into an gRPC response with an appropriate GrpcStatusCode.

This filter is recommended to be placed as early as possible to make sure it captures all exceptions that may be generated by other filters.