1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef EXCEPTIONS_H #define EXCEPTIONS_H namespace RethinkDB { class TimeoutException : public std::exception { public: const char *what() const throw () { return "operation timed out"; } }; } #endif // EXCEPTIONS_H