spring-projects-experimental / spring-grpc

88 stars 19 forks source link

Exception Mapping #62

Closed benallard closed 1 day ago

benallard commented 5 days ago

I would like a way to be able to universally map my exceptions to StatusRuntimeException.

like the GrpcExceptionHandler of the other starters.

dsyer commented 1 day ago

Made a start with a global interceptor: 3feca42. I don't like the annotation-first approach, but there may be some annotations later. Closing for now. Please open additional issues if you need more features.