INNER CODE UNIT · Java
FeignClientConfiguration
kartik1502/Spring-Boot-Microservices-Banking-Application · Fund-Transfer/src/main/java/org/training/fundtransfer/configuration/FeignClientConfiguration.java:9
public class FeignClientConfiguration extends FeignClientProperties.FeignClientConfiguration {
/**
* Returns the error decoder for the Feign client.
*
* @return the error decoder
*/
@Bean
public ErrorDecoder errorDecoder() {
return new FeignClientErrorDecoder();
}
}