Exception: ZooKeeper::Error

Inherits:
StandardError
  • Object
show all
Includes:
Enumeration
Defined in:
lib/zkruby/client.rb

Overview

Represents failure mode of ZooKeeper operations They are raised and rescued in the standard ways (much like ruby’s Errno)

Examples:

begin
    zk.create(...)
rescue ZK::Error::NODE_EXISTS
    ....
rescue ZK::Error::CONNECTION_LOST
end

Method Summary

Methods included from Enumeration

included