Expose base msgpack exceptions so users don't need to import

Change-Id: Ibcea72f8b67d08231e755b684056aa3ab1b03442
This commit is contained in:
Joshua Harlow 2015-04-16 11:25:26 -07:00
parent 5b4e919879
commit 6665672e3f
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ if sys.version_info[0:2] == (2, 6):
else:
_PY26 = False
# Expose these so that users don't have to import msgpack to gain these.
PackException = msgpack.PackException
UnpackException = msgpack.UnpackException
class HandlerRegistry(object):
# Applications can assign 0 to 127 to store