Error refactored CC_ERROR_THREAD
Error refactored CC_ERROR_THREAD