class ChatappException
Constants
- CODE
- FIELDS
- REASON
Public Instance Methods
struct_fields()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 4254 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 4256 def validate unless @code.nil? || ::G_a_b0_a_a_d::VALID_VALUES.include?(@code) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field code!') end end