cstate.vars needs to be enhanced to store both value and error message, so the error can be properly displayed on the Status tab.