Class GrpcErrorMapper

java.lang.Object
io.camunda.zeebe.gateway.grpc.GrpcErrorMapper

public final class GrpcErrorMapper extends Object
Maps arbitrary Throwable to StatusRuntimeException and logs the exception.
  • Constructor Details

    • GrpcErrorMapper

      public GrpcErrorMapper()
  • Method Details

    • mapError

      public io.grpc.StatusRuntimeException mapError(Throwable error)