Exception: MemoryModel::RecordNotInIndexError
- Inherits:
-
IndexError
- Object
- StandardError
- Error
- IndexError
- MemoryModel::RecordNotInIndexError
- Defined in:
- lib/memory_model/collection/index.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ RecordNotInIndexError
constructor
A new instance of RecordNotInIndexError.
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 |