Exception: GroongaClientModel::RecordNotSaved

Inherits:
Error
  • Object
show all
Defined in:
lib/groonga_client_model/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, record) ⇒ RecordNotSaved

Returns a new instance of RecordNotSaved.



27
28
29
30
# File 'lib/groonga_client_model/error.rb', line 27

def initialize(message, record)
  @record = record
  super(message)
end

Instance Attribute Details

#recordObject (readonly)

Returns the value of attribute record.



25
26
27
# File 'lib/groonga_client_model/error.rb', line 25

def record
  @record
end