diff options
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 |