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.



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

def initialize(cause)
  @cause = cause
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause.



20
21
22
# File 'lib/consul/async/consul_template.rb', line 20

def cause
  @cause
end