mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-21 12:53:17 +00:00
Deprecate more useless exceptions
This commit is contained in:
parent
6e36476239
commit
b2a8ce6cbd
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
class UnpackException(Exception):
|
class UnpackException(Exception):
|
||||||
pass
|
"""Deprecated. Use Exception instead to catch all exception during unpacking."""
|
||||||
|
|
||||||
|
|
||||||
class BufferFull(UnpackException):
|
class BufferFull(UnpackException):
|
||||||
|
@ -11,7 +11,7 @@ class OutOfData(UnpackException):
|
||||||
|
|
||||||
|
|
||||||
class UnpackValueError(UnpackException, ValueError):
|
class UnpackValueError(UnpackException, ValueError):
|
||||||
pass
|
"""Deprecated. Use ValueError instead."""
|
||||||
|
|
||||||
|
|
||||||
class ExtraData(UnpackValueError):
|
class ExtraData(UnpackValueError):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue