Exception: ViewModel::DeserializationError::NotFound
- Inherits:
-
ViewModel::DeserializationError
- Object
- StandardError
- AbstractError
- AbstractErrorWithBlame
- ViewModel::DeserializationError
- ViewModel::DeserializationError::NotFound
- Defined in:
- lib/view_model/deserialization_error.rb
Overview
Attempted to load persisted viewmodels by id, but they were not available
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from AbstractErrorWithBlame
Instance Method Summary collapse
Methods inherited from ViewModel::DeserializationError
Methods inherited from AbstractErrorWithBlame
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
#detail ⇒ Object
187 188 189 190 |
# File 'lib/view_model/deserialization_error.rb', line 187 def detail model_ids = nodes.map(&:model_id) "Couldn't find #{viewmodel_class.view_name}(s) with id(s)=#{model_ids.inspect}" end |