Exception: FlatMap::OpenMapper::NoTargetError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- FlatMap::OpenMapper::NoTargetError
- Defined in:
- lib/flat_map/open_mapper.rb
Overview
Raised when mapper is initialized with no target defined
Instance Method Summary collapse
-
#initialize(mapper_class) ⇒ NoTargetError
constructor
Initializes exception with a name of mapper class.
Constructor Details
#initialize(mapper_class) ⇒ NoTargetError
Initializes exception with a name of mapper class.
10 11 12 |
# File 'lib/flat_map/open_mapper.rb', line 10 def initialize(mapper_class) super("Target object is required to initialize #{mapper_class.name}") end |