class ViewModel::DeserializationError::InvalidViewType

def detail

def detail
  "Cannot deserialize inappropriate view type, expected '#{expected_type}' or an alias"
end

def initialize(expected_type, node)

def initialize(expected_type, node)
  @expected_type = expected_type
  super(node)
end

def meta

def meta
  super.merge(expected_type: expected_type)
end