Exception: Aws::Templates::ViewNotFound
- Defined in:
- lib/aws/templates/exceptions.rb
Overview
View was not found for the object
View map was checked and there is no appropriate view class for the object class found in the registry.
Instance Attribute Summary collapse
-
#instance ⇒ Object
readonly
Instance of the object class render lookup was performed for.
Instance Method Summary collapse
-
#initialize(target_instance) ⇒ ViewNotFound
constructor
A new instance of ViewNotFound.
- #message ⇒ Object
Constructor Details
#initialize(target_instance) ⇒ ViewNotFound
Returns a new instance of ViewNotFound.
84 85 86 87 |
# File 'lib/aws/templates/exceptions.rb', line 84 def initialize(target_instance) super() @instance = target_instance end |
Instance Attribute Details
#instance ⇒ Object (readonly)
Instance of the object class render lookup was performed for
78 79 80 |
# File 'lib/aws/templates/exceptions.rb', line 78 def instance @instance end |
Instance Method Details
#message ⇒ Object
80 81 82 |
# File 'lib/aws/templates/exceptions.rb', line 80 def "Can't find any view for #{instance} of class #{instance.class}" end |