Skip to content

Add ability to make error as a value. - #3559

Open
ihsansfd wants to merge 1 commit into
OpenFeign:masterfrom
ihsansfd:f/error-as-a-value-even-when-error-occurs
Open

Add ability to make error as a value.#3559
ihsansfd wants to merge 1 commit into
OpenFeign:masterfrom
ihsansfd:f/error-as-a-value-even-when-error-occurs

Conversation

@ihsansfd

@ihsansfd ihsansfd commented Sep 5, 2026

Copy link
Copy Markdown

Solving issue #2944.

Unfortunately for status code 204 and 404, all decoders are implemented to return empty body. I don't know what's the best way to handle this, so I leave it as is (make them keep returning empty body to avoid backward incompatibility). Any guideline to handle this better is much appreciated.

This is my first PR in this repo, do tell me if there is anything need to be fixed. Thanks 🙏

@ihsansfd
ihsansfd force-pushed the f/error-as-a-value-even-when-error-occurs branch from 445782b to ea9a37e Compare September 5, 2026 16:50
@ihsansfd
ihsansfd force-pushed the f/error-as-a-value-even-when-error-occurs branch from ea9a37e to cb297c8 Compare September 12, 2026 09:42
@ihsansfd ihsansfd changed the title f/error-as-a-value-even-when-error-occurs: init Add ability to make error as a value. Sep 12, 2026
@ihsansfd
ihsansfd marked this pull request as ready for review September 12, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant