class BotException

Constants

ERRORCODE
FIELDS
PARAMETERMAP
REASON

Public Instance Methods

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