Getting class/method names in a ResponseExceptionMapper #33322
-
Hi, Is it possible to somehow get the class and method name of a REST reactive client from within the Of cource I could handle response mapping in the client itself, but I was looking for a generic solution. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Can you try if the |
Beta Was this translation helpful? Give feedback.
I was looking around client filer and found
io.quarkus.rest.client.reactive.runtime.ResteasyReactiveResponseExceptionMapper
which owns the methodT toThrowable(Response response, RestClientRequestContext context);
.May you register a client-filter to inject all necessary informations into request-context and with a custom exception-mapper of reactive type extract necessary information for error handling