zookeeper-cpp
ZooKeeper Client for C++
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
zk::invalid_ensemble_state Class Reference

Base exception for cases where the ensemble is in an invalid state to perform a given action. More...

#include <zk/error.hpp>

+ Inheritance diagram for zk::invalid_ensemble_state:

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...
 

Detailed Description

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.

Definition at line 207 of file error.hpp.


The documentation for this class was generated from the following files: