Exception: Consul::Async::SyntaxErrorInTemplate

Inherits:
InvalidTemplateException show all
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

Instance Method Summary collapse

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

#causeObject (readonly)

Returns the value of attribute cause.



22
23
24
# File 'lib/consul/async/consul_template.rb', line 22

def cause
  @cause
end