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;
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