Deprecate more useless exceptions

This commit is contained in:
INADA Naoki 2016-02-14 14:32:11 +09:00
parent 6e36476239
commit b2a8ce6cbd
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
class UnpackException(Exception):
pass
"""Deprecated. Use Exception instead to catch all exception during unpacking."""
class BufferFull(UnpackException):
@ -11,7 +11,7 @@ class OutOfData(UnpackException):
class UnpackValueError(UnpackException, ValueError):
pass
"""Deprecated. Use ValueError instead."""
class ExtraData(UnpackValueError):