Deprecate more useless exceptions
This commit is contained in:
parent
6e36476239
commit
b2a8ce6cbd
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue