diff options
author | INADA Naoki <songofacandy@gmail.com> | 2016-02-14 11:46:28 +0900 |
---|---|---|
committer | INADA Naoki <songofacandy@gmail.com> | 2016-02-14 11:46:28 +0900 |
commit | d90008d4f57ec83a15b84cf2db2edc36e9504ac1 (patch) | |
tree | e8fd007fc36b90fd25cc571ca918673ea4a9706f /msgpack/exceptions.py | |
parent | e15085db0362899520f714e3959c37721c839cef (diff) | |
download | msgpack-python-d90008d4f57ec83a15b84cf2db2edc36e9504ac1.tar.gz |
ExtraData should be UnpackValueError
Diffstat (limited to 'msgpack/exceptions.py')
-rw-r--r-- | msgpack/exceptions.py | 2 |
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 |