Annotation-error-decoder does not provide feign.Response object in @FeignExceptionConstructor
aiwprton805 opened this issue · 1 comments
aiwprton805 commented
I encountered a problem when trying to access both the ResponseBody
and HTTP status in my @FeignExceptionConstructor
. While I could create multiple exception classes for each HTTP status, my goal is to use a single default exception that can provide access to the ResponseBody
AND feign.Response
(HTTP status at least) in exception constructor.