Class ErrorHandlerAdapter
- java.lang.Object
-
- org.lognet.springboot.grpc.recovery.ErrorHandlerAdapter
-
public class ErrorHandlerAdapter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ErrorHandlerAdapter(java.util.Optional<GRpcErrorHandler> errorHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.grpc.Statushandle(java.lang.Exception e, io.grpc.Status status, GRpcExceptionScope scope)
-
-
-
Constructor Detail
-
ErrorHandlerAdapter
public ErrorHandlerAdapter(java.util.Optional<GRpcErrorHandler> errorHandler)
-
-
Method Detail
-
handle
protected io.grpc.Status handle(java.lang.Exception e, io.grpc.Status status, GRpcExceptionScope scope)
-
-