class ViewModel::DeserializationError::InvalidAttributeType
def detail
def detail "Expected '#{attribute}' to be of type '#{expected_type}', was '#{provided_type}'" end
def initialize(attribute, expected_type, provided_type, node)
def initialize(attribute, expected_type, provided_type, node) @attribute = attribute @expected_type = expected_type @provided_type = provided_type super([node]) end
def meta
def meta super.merge(attribute: attribute, expected_type: expected_type, provided_type: provided_type) end