Exception: Consul::Async::SyntaxErrorInTemplate
- Inherits:
-
InvalidTemplateException
- Object
- StandardError
- InvalidTemplateException
- Consul::Async::SyntaxErrorInTemplate
- Defined in:
- lib/consul/async/consul_template.rb
Overview
Exception thrown when the template is Invalid due to a Syntax Error
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(cause) ⇒ SyntaxErrorInTemplate
constructor
A new instance of SyntaxErrorInTemplate.
Constructor Details
#initialize(cause) ⇒ SyntaxErrorInTemplate
Returns a new instance of SyntaxErrorInTemplate.
24 25 26 27 |
# File 'lib/consul/async/consul_template.rb', line 24 def initialize(cause) super @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
22 23 24 |
# File 'lib/consul/async/consul_template.rb', line 22 def cause @cause end |