Add ConsumerDispatcher class

This commit is contained in:
Matias Fontanini
2017-06-10 15:25:28 -07:00
parent 67022dbb68
commit f0ec0bfb10
6 changed files with 331 additions and 18 deletions

View File

@@ -110,6 +110,18 @@ private:
Error error_;
};
/**
* Consumer exception
*/
class CPPKAFKA_API ConsumerException : public Exception {
public:
ConsumerException(Error error);
Error get_error() const;
private:
Error error_;
};
} // cppkafka
#endif // CPPKAFKA_EXCEPTIONS_H