Exception: FlatMap::Mapper::Targeting::NoTargetError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- FlatMap::Mapper::Targeting::NoTargetError
- Defined in:
- lib/flat_map/mapper/targeting.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.
11 12 13 |
# File 'lib/flat_map/mapper/targeting.rb', line 11 def initialize(mapper_class) super("Target object is required to initialize #{mapper_class.name}") end |