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

Connection to the server has been lost before the attempted operation was verified as completed. More...

#include <zk/error.hpp>

+ Inheritance diagram for zk::connection_loss:

Additional Inherited Members

- Public Member Functions inherited from zk::transport_error
 transport_error (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

Connection to the server has been lost before the attempted operation was verified as completed.

When thrown on an attempt to perform a modification, it is important to remember that it is possible to see this error and have the operation be a success. For example, a client::set operation can complete on the server, but the client can experience a connection_loss before the server replies with OK.

See also
session_expired

Definition at line 141 of file error.hpp.


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