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



245
246
247
248
# File 'lib/view_model/deserialization_error.rb', line 245

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