Exception: ViewModel::DeserializationError::InvalidParentEdit
- Inherits:
-
ViewModel::DeserializationError
- Object
- StandardError
- AbstractError
- AbstractErrorWithBlame
- ViewModel::DeserializationError
- ViewModel::DeserializationError::InvalidParentEdit
- Defined in:
- lib/view_model/deserialization_error.rb
Instance Attribute Summary
Attributes inherited from AbstractErrorWithBlame
Instance Method Summary collapse
-
#initialize(changes, node) ⇒ InvalidParentEdit
constructor
A new instance of InvalidParentEdit.
- #meta ⇒ Object
Methods inherited from ViewModel::DeserializationError
Methods inherited from AbstractError
#aggregation?, #causes, #code, #detail, #exception, #status, #title, #to_s, #view
Constructor Details
#initialize(changes, node) ⇒ InvalidParentEdit
Returns a new instance of InvalidParentEdit.
331 332 333 334 |
# File 'lib/view_model/deserialization_error.rb', line 331 def initialize(changes, node) @changes = changes super([node]) end |
Instance Method Details
#meta ⇒ Object
338 339 340 |
# File 'lib/view_model/deserialization_error.rb', line 338 def super.merge(changes: @changes.to_h) end |