diff options
author | INADA Naoki <inada-n@klab.com> | 2012-12-11 22:15:21 +0900 |
---|---|---|
committer | INADA Naoki <inada-n@klab.com> | 2012-12-11 22:15:21 +0900 |
commit | b79e5ba4e5e16eb9907e2e0081593ce6aa14eb66 (patch) | |
tree | 9a7e1f70bddf4f26d0b24e44cc0704120fe0b479 /msgpack/exceptions.py | |
parent | eec02b87294a84199d3eb527b785d6091307d868 (diff) | |
download | msgpack-python-b79e5ba4e5e16eb9907e2e0081593ce6aa14eb66.tar.gz |
Split _msgpack.pyx
Diffstat (limited to 'msgpack/exceptions.py')
-rw-r--r-- | msgpack/exceptions.py | 6 |
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 |