Exception: Consul::Async::InvalidTemplateException

Inherits:
StandardError
  • Object
show all
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

SyntaxErrorInTemplate

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#causeObject (readonly)

Returns the value of attribute cause.



12
13
14
# File 'lib/consul/async/consul_template.rb', line 12

def cause
  @cause
end