RethinkDB native connector work, minor fixes.
This commit is contained in:
13
ext/librethinkdbxx/src/exceptions.h
Normal file
13
ext/librethinkdbxx/src/exceptions.h
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user