Exception: TemplateNotFound
- Defined in:
- lib/poolparty/exceptions/TemplateNotFound.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(msg = "Custom resource exception") ⇒ TemplateNotFound
constructor
A new instance of TemplateNotFound.
Constructor Details
#initialize(msg = "Custom resource exception") ⇒ TemplateNotFound
Returns a new instance of TemplateNotFound.
4 5 6 |
# File 'lib/poolparty/exceptions/TemplateNotFound.rb', line 4 def initialize(msg="Custom resource exception") @message = "Template not found: #{msg}" end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
2 3 4 |
# File 'lib/poolparty/exceptions/TemplateNotFound.rb', line 2 def @message end |