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.AuthFailedError[source]
exception kazoo.exceptions.BadVersionError[source]
exception kazoo.exceptions.ConfigurationError[source]

Raised if the configuration arguments to an object are invalid

exception kazoo.exceptions.InvalidACLError[source]
exception kazoo.exceptions.LockTimeout[source]

Raised if failed to acquire a lock.

New in version 1.1.

exception kazoo.exceptions.NoChildrenForEphemeralsError[source]
exception kazoo.exceptions.NodeExistsError[source]
exception kazoo.exceptions.NoNodeError[source]
exception kazoo.exceptions.NotEmptyError[source]

Private API

exception kazoo.exceptions.APIError[source]
exception kazoo.exceptions.BadArgumentsError[source]
exception kazoo.exceptions.CancelledError[source]

Raised when a process is cancelled by another thread

exception kazoo.exceptions.ConnectionDropped[source]

Internal error for jumping out of loops

exception kazoo.exceptions.ConnectionClosedError[source]

Connection is closed

exception kazoo.exceptions.ConnectionLoss[source]
exception kazoo.exceptions.DataInconsistency[source]
exception kazoo.exceptions.MarshallingError[source]
exception kazoo.exceptions.NoAuthError[source]
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.InvalidCallbackError[source]
exception kazoo.exceptions.OperationTimeoutError[source]
exception kazoo.exceptions.RolledBackError[source]
exception kazoo.exceptions.RuntimeInconsistency[source]
exception kazoo.exceptions.SessionExpiredError[source]
exception kazoo.exceptions.SessionMovedError[source]
exception kazoo.exceptions.SystemZookeeperError[source]
exception kazoo.exceptions.UnimplementedError[source]
exception kazoo.exceptions.WriterNotClosedException[source]

Raised if the writer is unable to stop closing when requested.

New in version 1.2.

exception kazoo.exceptions.ZookeeperStoppedError[source]

Raised when the kazoo client stopped (and thus not connected)