File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ from libc.string cimport *
1111from libc.limits cimport *
1212
1313from msgpack.exceptions import (
14- BufferFull,
15- OutOfData,
16- UnpackValueError,
17- ExtraData,
18- )
14+ BufferFull,
15+ OutOfData,
16+ UnpackValueError,
17+ ExtraData,
18+ )
1919from msgpack import ExtType
2020
2121
Original file line number Diff line number Diff line change @@ -24,12 +24,18 @@ def __str__(self):
2424
2525
2626class PackException (Exception ):
27- pass
27+ """Deprecated. Use Exception instead to catch all exception during packing."""
2828
2929
3030class PackValueError (PackException , ValueError ):
31- pass
31+ """PackValueError is raised when type of input data is supported but it's value is unsupported.
32+
33+ Deprecated. Use ValueError instead.
34+ """
3235
3336
3437class PackOverflowError (PackValueError , OverflowError ):
35- pass
38+ """PackOverflowError is raised when integer value is out of range of msgpack support [-2**31, 2**32).
39+
40+ Deprecated. Use ValueError instead.
41+ """
You can’t perform that action at this time.
0 commit comments