feign icon indicating copy to clipboard operation
feign copied to clipboard

[Request] allow to override DecodeException throwing logic in Feign

Open tomaszszlek opened this issue 3 years ago • 0 comments

Hi, as mentioned in this issue #725, it is not possible to customise behaviour of throwing by wrapping by Feign all exceptions thrown from Custom Decoders into DecodeException. It would be nice to have control over it and be able to configure Feign to throw original exception instead of DecodeException. While I understand its considered fatal error I might want to convert this into my business, standard fatal exception. Currently its only possible outside Feign client. It would be handy to configure it in Feign.Builder.

tomaszszlek avatar Jul 30 '21 08:07 tomaszszlek