Last active
July 16, 2022 14:51
-
-
Save atesibrahim/7208d84272b1acd5627ce35a691caed2 to your computer and use it in GitHub Desktop.
Feign Error Decoder Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BookClientErrorDecoder implements ErrorDecoder { | |
@Override | |
public Exception decode(String methodKey, Response response) { | |
return new Default().decode(methodKey, response); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment