Class: Fire::NestedModel::DuplicatedIdKeyError
- Inherits:
-
DuplicatedParentPathKeyError
- Object
- InvalidPathKeyError
- DuplicatedParentPathKeyError
- Fire::NestedModel::DuplicatedIdKeyError
- Defined in:
- lib/model/nested/base.rb
Instance Method Summary collapse
Methods inherited from DuplicatedParentPathKeyError
Constructor Details
This class inherits a constructor from Fire::NestedModel::DuplicatedParentPathKeyError
Instance Method Details
#error_message(key, parent) ⇒ Object
124 125 126 |
# File 'lib/model/nested/base.rb', line 124 def (key, parent) "ID Key '#{key}' is duplicated in a Parent Model '#{parent}'. Use 'set_key_id' method to define a specific ID Key" end |