class LiffException

Constants

CODE
FIELDS
MESSAGE
PAYLOAD

Public Instance Methods

struct_fields() click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 4503
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 4505
def validate
  unless @code.nil? || ::G_a_h_e1_a_j::VALID_VALUES.include?(@code)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field code!')
  end
end