Added CC_ERROR_WINDOW_MODE