Exception: Consul::Async::InvalidTemplateException
- Inherits:
-
StandardError
- Object
- StandardError
- Consul::Async::InvalidTemplateException
- Defined in:
- lib/consul/async/consul_template.rb
Overview
Exception thrown when a template is invalid and cause a Runtime Exception during its rendering
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(cause) ⇒ InvalidTemplateException
constructor
A new instance of InvalidTemplateException.
Constructor Details
#initialize(cause) ⇒ InvalidTemplateException
Returns a new instance of InvalidTemplateException.
13 14 15 |
# File 'lib/consul/async/consul_template.rb', line 13 def initialize(cause) @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
12 13 14 |
# File 'lib/consul/async/consul_template.rb', line 12 def cause @cause end |