Exception: Automate::ChainFailedError

Inherits:
Exception
  • Object
show all
Defined in:
lib/automate/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(chain, description) ⇒ ChainFailedError

Returns a new instance of ChainFailedError.



15
16
17
18
# File 'lib/automate/errors.rb', line 15

def initialize(chain, description)
  @chain = chain
  @description = description
end

Instance Attribute Details

#chainObject (readonly)

Returns the value of attribute chain.



14
15
16
# File 'lib/automate/errors.rb', line 14

def chain
  @chain
end

#descriptionObject (readonly)

Returns the value of attribute description.



14
15
16
# File 'lib/automate/errors.rb', line 14

def description
  @description
end