lib/thrift/exceptions.rb in thrift-0.6.0 vs lib/thrift/exceptions.rb in thrift-0.7.0

- old
+ new

@@ -33,10 +33,12 @@ UNKNOWN_METHOD = 1 INVALID_MESSAGE_TYPE = 2 WRONG_METHOD_NAME = 3 BAD_SEQUENCE_ID = 4 MISSING_RESULT = 5 + INTERNAL_ERROR = 6 + PROTOCOL_ERROR = 7 attr_reader :type def initialize(type=UNKNOWN, message=nil) super(message) @@ -77,6 +79,6 @@ oprot.write_field_stop oprot.write_struct_end end end -end \ No newline at end of file +end