Exception: Lotus::Model::Mapping::EntityNotFound

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

Overview

Invalid entity error.

It gets raised when the application tries to access to a existing entity.

Since:

  • 0.2.0

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ EntityNotFound

Returns a new instance of EntityNotFound.

Since:

  • 0.2.0



30
31
32
# File 'lib/lotus/model/mapping.rb', line 30

def initialize(name)
  super("Cannot find class for entity: #{ name }")
end