Class: Groonga::Schema::ColumnNotExists

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

Overview

カラムが存在しないときに発生する。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ ColumnNotExists

Returns a new instance of ColumnNotExists.



62
63
64
65
# File 'lib/groonga/schema.rb', line 62

def initialize(name)
  @name = name
  super("column doesn't exist: <#{@name}>")
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



61
62
63
# File 'lib/groonga/schema.rb', line 61

def name
  @name
end