summaryrefslogtreecommitdiff
path: root/msgpack/exceptions.py
diff options
context:
space:
mode:
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):