class ViewModel::AbstractError

def format_reference(viewmodel_ref)

def format_reference(viewmodel_ref)
  {
    ViewModel::TYPE_ATTRIBUTE => viewmodel_ref.viewmodel_class.view_name,
    ViewModel::ID_ATTRIBUTE   => viewmodel_ref.model_id,
  }
end