class ChannelException

Constants

CODE
FIELDS
PARAMETERMAP
REASON

Public Instance Methods

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