summaryrefslogtreecommitdiff
path: root/msgpack/exceptions.py
diff options
context:
space:
mode:
authorINADA Naoki <inada-n@klab.com>2012-12-11 22:15:21 +0900
committerINADA Naoki <inada-n@klab.com>2012-12-11 22:15:21 +0900
commitb79e5ba4e5e16eb9907e2e0081593ce6aa14eb66 (patch)
tree9a7e1f70bddf4f26d0b24e44cc0704120fe0b479 /msgpack/exceptions.py
parenteec02b87294a84199d3eb527b785d6091307d868 (diff)
downloadmsgpack-python-b79e5ba4e5e16eb9907e2e0081593ce6aa14eb66.tar.gz
Split _msgpack.pyx
Diffstat (limited to 'msgpack/exceptions.py')
-rw-r--r--msgpack/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/msgpack/exceptions.py b/msgpack/exceptions.py
index 0a75430..2565541 100644
--- a/msgpack/exceptions.py
+++ b/msgpack/exceptions.py
@@ -21,3 +21,9 @@ class ExtraData(ValueError):
def __str__(self):
return "unpack(b) recieved extra data."
+
+class PackException(Exception):
+ pass
+
+class PackValueError(PackException, ValueError):
+ pass