std::function add ,MessageThrow throw warning error ask.