summaryrefslogtreecommitdiff
path: root/msgpack/exceptions.py
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2016-02-14 14:32:11 +0900
committerINADA Naoki <songofacandy@gmail.com>2016-02-14 14:32:11 +0900
commitb2a8ce6cbdbef80d1a89d02fa483f56862cf1efa (patch)
tree66c3c4472ac6530cb861cab553d045dc716fd082 /msgpack/exceptions.py
parent6e364762394fdb06d0453411a5f020ee594c06b0 (diff)
downloadmsgpack-python-b2a8ce6cbdbef80d1a89d02fa483f56862cf1efa.tar.gz
Deprecate more useless exceptions
Diffstat (limited to 'msgpack/exceptions.py')
-rw-r--r--msgpack/exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/msgpack/exceptions.py b/msgpack/exceptions.py
index 73010b7..9766881 100644
--- a/msgpack/exceptions.py
+++ b/msgpack/exceptions.py
@@ -1,5 +1,5 @@
class UnpackException(Exception):
- pass
+ """Deprecated. Use Exception instead to catch all exception during unpacking."""
class BufferFull(UnpackException):
@@ -11,7 +11,7 @@ class OutOfData(UnpackException):
class UnpackValueError(UnpackException, ValueError):
- pass
+ """Deprecated. Use ValueError instead."""
class ExtraData(UnpackValueError):