commit | 6d1a83aa485ed9c3644d3200555700070547bf90 | [log] [tgz] |
---|---|---|
author | Jens Geyer <jensg@apache.org> | Sat May 03 00:49:05 2014 +0200 |
committer | Jens Geyer <jensg@apache.org> | Sat May 03 00:49:05 2014 +0200 |
tree | 016f0223385b3182ea76e71c14506af97b69d71b | |
parent | 72e9c375175ff05a9b9cd61c9937db0bd48742ac [diff] |
THRIFT-2506 Update TProtocolException error codes to be used consistently throughout the library Patch: Jens Geyer
diff --git a/lib/py/src/protocol/TProtocol.py b/lib/py/src/protocol/TProtocol.py index dc2b095..40e05b1 100644 --- a/lib/py/src/protocol/TProtocol.py +++ b/lib/py/src/protocol/TProtocol.py
@@ -28,6 +28,8 @@ NEGATIVE_SIZE = 2 SIZE_LIMIT = 3 BAD_VERSION = 4 + NOT_IMPLEMENTED = 5 + DEPTH_LIMIT = 6 def __init__(self, type=UNKNOWN, message=None): TException.__init__(self, message)