Exception: 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



64
65
66
67
# File 'lib/groonga/schema.rb', line 64

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name



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

def name
  @name
end