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.
21 22 23 |
# File 'lib/consul/async/consul_template.rb', line 21 def initialize(cause) @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
20 21 22 |
# File 'lib/consul/async/consul_template.rb', line 20 def cause @cause end |