feign-annotation-error-decoder
feign-annotation-error-decoder copied to clipboard
ErrorHandlerMap empty if only define annotation class
If define error handler only a class annotation, the member value errorCodes return a empy collection of error codes and the builder only build the default generic error
public class AnnotationErrorDecoder implements ErrorDecoder { private final Map<String, MethodErrorHandler> errorHandlerMap;
errorhandlermap have a empty map of errros