Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotation-error-decoder does not provide feign.Response object in @FeignExceptionConstructor #2504

Open
aiwprton805 opened this issue Aug 9, 2024 · 1 comment
Labels
spring-cloud Issues related to Spring Cloud OpenFeign

Comments

@aiwprton805
Copy link

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.

@kdavisk6
Copy link
Member

@FeignExceptionConstructor is part of Spring Cloud OpenFeign. I recommend using their support channels for more help.

@kdavisk6 kdavisk6 added the spring-cloud Issues related to Spring Cloud OpenFeign label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spring-cloud Issues related to Spring Cloud OpenFeign
2 participants