zookeeper-cpp
ZooKeeper Client for C++
|
Base exception for cases where the ensemble is in an invalid state to perform a given action. More...
#include <zk/error.hpp>
Public Member Functions | |
invalid_ensemble_state (error_code code, const std::string &description) | |
Public Member Functions inherited from zk::error | |
error (error_code code, const std::string &description) | |
error_code | code () const |
The code representation of this error. More... | |
Base exception for cases where the ensemble is in an invalid state to perform a given action.
While errors such as connection_loss might also imply a bad ensemble (no quorum means no connection is possible), these errors are explicit rejections from the server.