Exception: MemoryModel::RecordNotInIndexError

Inherits:
IndexError show all
Defined in:
lib/memory_model/collection/index.rb

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ RecordNotInIndexError

Returns a new instance of RecordNotInIndexError.



16
17
18
19
# File 'lib/memory_model/collection/index.rb', line 16

def initialize(args)
  item, index = args
  super "record `#{item.uuid}` is missing from index `#{index.name}`"
end