pymemcache.exceptions module

exception pymemcache.exceptions.MemcacheClientError

Bases: MemcacheError

Raised when memcached fails to parse the arguments to a request, likely due to a malformed key and/or value, a bug in this library, or a version mismatch with memcached.

exception pymemcache.exceptions.MemcacheError

Bases: Exception

Base exception class

exception pymemcache.exceptions.MemcacheIllegalInputError

Bases: MemcacheClientError

Raised when a key or value is not legal for Memcache (see the class docs for Client for more details).

exception pymemcache.exceptions.MemcacheServerError

Bases: MemcacheError

Raised when memcached reports a failure while processing a request, likely due to a bug or transient issue in memcached.

exception pymemcache.exceptions.MemcacheUnexpectedCloseError

Bases: MemcacheServerError

Raised when the connection with memcached closes unexpectedly.

exception pymemcache.exceptions.MemcacheUnknownCommandError

Bases: MemcacheClientError

Raised when memcached fails to parse a request, likely due to a bug in this library or a version mismatch with memcached.

exception pymemcache.exceptions.MemcacheUnknownError

Bases: MemcacheError

Raised when this library receives a response from memcached that it cannot parse, likely due to a bug in this library or a version mismatch with memcached.