Class GrpcErrorCodes


  • public class GrpcErrorCodes
    extends java.lang.Object
    We want to define our own error codes/messages for when we receive any sort of exception or error when processing a gRPC request within the gRPC handler pipeline to remain flexible and not bound to the gRPC error codes. We define some constants here to be used within our gRPC service and handlers and our gRPC client is responsible for mapping the gRPC error code to the proper Venice Exception.