Exception: FunApi::TemplateNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- FunApi::TemplateNotFoundError
- Defined in:
- lib/funapi/exceptions.rb
Instance Attribute Summary collapse
-
#template_name ⇒ Object
readonly
Returns the value of attribute template_name.
Instance Method Summary collapse
-
#initialize(template_name) ⇒ TemplateNotFoundError
constructor
A new instance of TemplateNotFoundError.
Constructor Details
#initialize(template_name) ⇒ TemplateNotFoundError
Returns a new instance of TemplateNotFoundError.
67 68 69 70 |
# File 'lib/funapi/exceptions.rb', line 67 def initialize(template_name) @template_name = template_name super("Template not found: #{template_name}") end |
Instance Attribute Details
#template_name ⇒ Object (readonly)
Returns the value of attribute template_name.
65 66 67 |
# File 'lib/funapi/exceptions.rb', line 65 def template_name @template_name end |