From b79e5ba4e5e16eb9907e2e0081593ce6aa14eb66 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Tue, 11 Dec 2012 22:15:21 +0900 Subject: Split _msgpack.pyx --- msgpack/exceptions.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'msgpack/exceptions.py') 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 -- cgit v1.2.1