summaryrefslogtreecommitdiff
path: root/ext/librethinkdbxx/src/exceptions.h
blob: 08c0b0a09112fd4ea934087e702678d18a09e31d (plain)
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