#ifndef BASE_EXCEPTION_H #define BASE_EXCEPTION_H #include #include #include namespace Egametang { struct Exception: virtual std::exception, virtual boost::exception { }; typedef boost::error_info ErrNO; typedef boost::error_info ErrInfo; } #endif // BASE_EXCEPTION_H