summaryrefslogtreecommitdiff
path: root/msgpack/exceptions.py
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2016-02-14 11:46:28 +0900
committerINADA Naoki <songofacandy@gmail.com>2016-02-14 11:46:28 +0900
commitd90008d4f57ec83a15b84cf2db2edc36e9504ac1 (patch)
treee8fd007fc36b90fd25cc571ca918673ea4a9706f /msgpack/exceptions.py
parente15085db0362899520f714e3959c37721c839cef (diff)
downloadmsgpack-python-d90008d4f57ec83a15b84cf2db2edc36e9504ac1.tar.gz
ExtraData should be UnpackValueError
Diffstat (limited to 'msgpack/exceptions.py')
-rw-r--r--msgpack/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/msgpack/exceptions.py b/msgpack/exceptions.py
index e982079..bb12264 100644
--- a/msgpack/exceptions.py
+++ b/msgpack/exceptions.py
@@ -14,7 +14,7 @@ class UnpackValueError(UnpackException, ValueError):
pass
-class ExtraData(ValueError):
+class ExtraData(UnpackValueError):
def __init__(self, unpacked, extra):
self.unpacked = unpacked
self.extra = extra