summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Gordon <charles.gordon@gmail.com>2015-07-25 18:11:55 -0700
committerCharles Gordon <charles.gordon@gmail.com>2015-07-25 18:11:55 -0700
commit01b9529bd940d350bd26fe9e8a6574d916324fde (patch)
treea2aa2f287cddaa1359c1c253a7befe327125596c
parenta1ce29cf474bc411fa367917c3d600897ae80c7d (diff)
parent914535b749b04159539ac6e8da98e9cad29deb20 (diff)
downloadpymemcache-01b9529bd940d350bd26fe9e8a6574d916324fde.tar.gz
Merge pull request #73 from harlowja/expose-exceptions
Also expose exceptions in backwards compatible way
-rw-r--r--pymemcache/client/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pymemcache/client/__init__.py b/pymemcache/client/__init__.py
index 779283a..a6ff93b 100644
--- a/pymemcache/client/__init__.py
+++ b/pymemcache/client/__init__.py
@@ -1,3 +1,12 @@
# API Backwards compatibility
+
from pymemcache.client.base import Client # noqa
from pymemcache.client.base import PooledClient # noqa
+
+from pymemcache.exceptions import MemcacheError # noqa
+from pymemcache.exceptions import MemcacheClientError # noqa
+from pymemcache.exceptions import MemcacheUnknownCommandError # noqa
+from pymemcache.exceptions import MemcacheIllegalInputError # noqa
+from pymemcache.exceptions import MemcacheServerError # noqa
+from pymemcache.exceptions import MemcacheUnknownError # noqa
+from pymemcache.exceptions import MemcacheUnexpectedCloseError # noqa