kazoo.exceptions
¶
Kazoo Exceptions
Public API¶
- exception kazoo.exceptions.KazooException[source]¶
Base Kazoo exception that all other kazoo library exceptions inherit from
- exception kazoo.exceptions.ZookeeperError[source]¶
Base Zookeeper exception for errors originating from the Zookeeper server
- exception kazoo.exceptions.BadVersionError[source]¶
Version conflict. In case of reconfiguration: reconfig requested from config version X but last seen config has a different version Y.
- exception kazoo.exceptions.ConfigurationError[source]¶
Raised if the configuration arguments to an object are invalid
- exception kazoo.exceptions.LockTimeout[source]¶
Raised if failed to acquire a lock.
Added in version 1.1.
Private API¶
- exception kazoo.exceptions.APIError[source]¶
API errors. This is never thrown by the server, it shouldn’t be used other than to indicate a range. Specifically error codes greater than this value are API errors (while values less than this indicate a system error.
- exception kazoo.exceptions.CancelledError[source]¶
Raised when a process is cancelled by another thread
- exception kazoo.exceptions.NotReadOnlyCallError[source]¶
An API call that is not read-only was used while connected to a read-only server.
- exception kazoo.exceptions.SessionMovedError[source]¶
Session moved to another server, so operation is ignored.
- exception kazoo.exceptions.SystemZookeeperError[source]¶
System and server-side errors. This is never thrown by the server, it shouldn’t be used other than to indicate a range. Specifically error codes greater than this value, but lesser than APIError, are system errors.