Exception: ViewModel::DeserializationError::LockFailure

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

Overview

Optimistic lock failure updating nodes

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



330
331
332
333
# File 'lib/view_model/deserialization_error.rb', line 330

def detail
  errors = nodes.map(&:to_s).join(', ')
  "Optimistic lock failure updating nodes: #{errors}"
end