Removed GetErrorMsg from parent state class