Exception: Groonga::Schema::UnknownTableType

Inherits:
Error
  • Object
show all
Defined in:
lib/groonga/schema.rb

Overview

未知のテーブルの種類を指定したときに発生する。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, available_types) ⇒ UnknownTableType

Returns a new instance of UnknownTableType



130
131
132
133
134
135
# File 'lib/groonga/schema.rb', line 130

def initialize(type, available_types)
  @type = type
  @available_types = available_types
  super("unknown table type: #{@type.inspect}: " +
        "available types: #{@available_types.inspect}")
end

Instance Attribute Details

#available_typesObject (readonly)

Returns the value of attribute available_types



129
130
131
# File 'lib/groonga/schema.rb', line 129

def available_types
  @available_types
end

#typeObject (readonly)

Returns the value of attribute type



129
130
131
# File 'lib/groonga/schema.rb', line 129

def type
  @type
end