mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-10-31 18:47:48 +00:00
Add ConsumerDispatcher class
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user