code: @Override
  	public void error(final String code) {
  		WMessages instance = getWMessageInstance();
  
  		if (instance != null) {
  			instance.error(code);
  		}
  	}
docs: Adds an error message.
  
  @param code the message code.