Allow getting option values providing a template type

This commit is contained in:
Matias Fontanini
2016-06-20 20:07:10 -07:00
parent 0a58fc306b
commit bba9043faf
6 changed files with 70 additions and 0 deletions

View File

@@ -65,6 +65,14 @@ public:
ConfigOptionNotFound(const std::string& config_name);
};
/**
* Indicates a configuration option value could not be converted to a specified type
*/
class CPPKAFKA_API InvalidConfigOptionType : public Exception {
public:
InvalidConfigOptionType(const std::string& config_name, const std::string& type);
};
/**
* A generic rdkafka handle error
*/