Exception: Lotus::Model::Mapping::UnmappedCollectionError
- Inherits:
-
StandardError
- Object
- StandardError
- Lotus::Model::Mapping::UnmappedCollectionError
- 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.
Instance Method Summary collapse
-
#initialize(name) ⇒ UnmappedCollectionError
constructor
A new instance of UnmappedCollectionError.
Constructor Details
#initialize(name) ⇒ UnmappedCollectionError
Returns a new instance of UnmappedCollectionError.
18 19 20 |
# File 'lib/lotus/model/mapping.rb', line 18 def initialize(name) super("Cannot find collection: #{ name }") end |