Source code for etcd.exceptions

[docs]class EtcdException(Exception): """The base exception for the client.""" pass
[docs]class EtcdError(EtcdException): """The base error for the client.""" pass
[docs]class EtcdPreconditionException(EtcdException): """Raised when a CAS condition fails.""" pass
[docs]class EtcdAlreadyExistsException(EtcdException): """Raised when a directory can't be created because it already exists.""" pass