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.
314 315 316 317 |
# File 'lib/view_model/deserialization_error.rb', line 314 def initialize(changes, node) @changes = changes super([node]) end |
Instance Method Details
#meta ⇒ Object
321 322 323 |
# File 'lib/view_model/deserialization_error.rb', line 321 def super.merge(changes: @changes.to_h) end |