Exception: ViewModel::DeserializationError::ParentNotFound

Inherits:
NotFound show all
Defined in:
lib/view_model/deserialization_error.rb

Instance Attribute Summary

Attributes inherited from AbstractErrorWithBlame

#nodes

Instance Method Summary collapse

Methods inherited from ViewModel::DeserializationError

#code

Methods inherited from AbstractErrorWithBlame

#initialize, #meta

Methods inherited from AbstractError

#aggregation?, #causes, #code, #exception, #initialize, #meta, #status, #title, #to_s, #view

Constructor Details

This class inherits a constructor from ViewModel::AbstractErrorWithBlame

Instance Method Details

#detailObject



262
263
264
265
# File 'lib/view_model/deserialization_error.rb', line 262

def detail
  'Could not resolve release from previous parent for the following owned viewmodel(s): ' +
    nodes.map(&:to_s).join(', ')
end