class ViewModel::DeserializationError::UnknownView
A view was of an unknown type
Attributes
type[R]
Public Class Methods
new(type)
click to toggle source
Calls superclass method
ViewModel::AbstractErrorWithBlame::new
# File lib/view_model/deserialization_error.rb, line 91 def initialize(type) @type = type super([]) end
Public Instance Methods
detail()
click to toggle source
# File lib/view_model/deserialization_error.rb, line 96 def detail "ViewModel class for view name '#{type}' could not be found" end
meta()
click to toggle source
Calls superclass method
ViewModel::AbstractErrorWithBlame#meta
# File lib/view_model/deserialization_error.rb, line 100 def meta super.merge(type: type) end