Class: Groonga::Schema::TableNotExists

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

Overview

テーブルが存在しないときに発生する。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TableNotExists

Returns a new instance of TableNotExists.



54
55
56
57
# File 'lib/groonga/schema.rb', line 54

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



53
54
55
# File 'lib/groonga/schema.rb', line 53

def name
  @name
end