summaryrefslogtreecommitdiff
path: root/msgpack/exceptions.py
diff options
context:
space:
mode:
authorpalaviv <palaviv@gmail.com>2016-02-12 15:39:50 +0200
committerpalaviv <palaviv@gmail.com>2016-02-12 15:39:50 +0200
commite15085db0362899520f714e3959c37721c839cef (patch)
tree00d589ef5527c427194d31e806db4696ccde24b8 /msgpack/exceptions.py
parent1183eff688189b0e94ea9e15c5ae13c2f757d745 (diff)
downloadmsgpack-python-e15085db0362899520f714e3959c37721c839cef.tar.gz
removed MsgpackBaseException
Diffstat (limited to 'msgpack/exceptions.py')
-rw-r--r--msgpack/exceptions.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/msgpack/exceptions.py b/msgpack/exceptions.py
index e0d5b5f..e982079 100644
--- a/msgpack/exceptions.py
+++ b/msgpack/exceptions.py
@@ -1,8 +1,4 @@
-class MsgpackBaseException(Exception):
- pass
-
-
-class UnpackException(MsgpackBaseException):
+class UnpackException(Exception):
pass
@@ -26,9 +22,11 @@ class ExtraData(ValueError):
def __str__(self):
return "unpack(b) received extra data."
-class PackException(MsgpackBaseException):
+
+class PackException(Exception):
pass
+
class PackValueError(PackException, ValueError):
pass