Exception: Lotus::Model::Mapping::UnmappedCollectionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/lotus/model/mapping.rb

Overview

Unmapped collection error.

It gets raised when the application tries to access to a non-mapped collection.

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ UnmappedCollectionError

Returns a new instance of UnmappedCollectionError.

Since:

  • 0.1.0



18
19
20
# File 'lib/lotus/model/mapping.rb', line 18

def initialize(name)
  super("Cannot find collection: #{ name }")
end