结构 error_code- int m_val- const error_category * m_caterror_category+virtual const char * name()+virtual std::string message(int ev)generic_error_categorysystem_error_category error_category :其中的name和message是纯虚函数