summaryrefslogtreecommitdiff
path: root/lib/rb
diff options
context:
space:
mode:
authorRoger Meier <roger@apache.org>2012-12-22 21:31:03 +0100
committerRoger Meier <roger@apache.org>2012-12-22 21:31:03 +0100
commit0193149842924b65c5d3761d60055d298470d3ab (patch)
treea2f40b909010e1b5c45971b04c57a8daf20bc90e /lib/rb
parent8fa8aeac9a0f2ff4f11ac0ef73fc677bebd7a75f (diff)
downloadthrift-0193149842924b65c5d3761d60055d298470d3ab.tar.gz
THRIFT-1801 Sync up TApplicationException codes across languages and thrift implementations
Patch: Andrew Cox
Diffstat (limited to 'lib/rb')
-rw-r--r--lib/rb/lib/thrift/exceptions.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rb/lib/thrift/exceptions.rb b/lib/rb/lib/thrift/exceptions.rb
index 2ccc7ce6b..68cb9e03a 100644
--- a/lib/rb/lib/thrift/exceptions.rb
+++ b/lib/rb/lib/thrift/exceptions.rb
@@ -37,6 +37,9 @@ module Thrift
MISSING_RESULT = 5
INTERNAL_ERROR = 6
PROTOCOL_ERROR = 7
+ INVALID_TRANSFORM = 8
+ INVALID_PROTOCOL = 9
+ UNSUPPORTED_CLIENT_TYPE = 10
attr_reader :type