class ViewModel::DeserializationError::DuplicateNodes

def detail

def detail
  "Duplicate views for the same '#{type}' specified: " + nodes.map(&:to_s).join(', ')
end

def initialize(type, nodes)

def initialize(type, nodes)
  @type = type
  super(nodes)
end

def meta

def meta
  super.merge(type: type)
end